Fixing some sql statements for newer sql servers

Signed-off-by: RedChrome <redchrome@gmx.de>
Merge branch 'master' of https://github.com/RedChrome/Chrome-PHP

Conflicts:
	Tests/sql/product.sql