Well I have faced very similar question on Sqlite. That, how can I check my sqlite query without installing any software?
I came across with the website called sqlfiddle.com.
In this website I could select different platform such as Sqlite, mySQL and even postgreSQL.
Here is what I have tried with an example of sqlite: http://sqlfiddle.com/#!7/d246c/1