how to test a query in sql code example Example: test sql query -- Test SQL queries online: use a fiddle: http://sqlfiddle.com/