You can use http://sqlfiddle.com/ to test your queries. There you can chose a database (mysql, Oracle, Sql Server or other), generate test tables, fill them with test data and generate test queries to this data
17
solved Where can beginners run their SQL code?If it’s a PL,then why it doesn’t have a compiler? [closed]