Updated some insert queries

Make them compliant with the SQL99 standard, instead of using some mysql-ism.
Merge pull request #5 from herwinw/sql_standard

Updated some insert queries