JPMorganChase interview question

How do you create queries in SQL ?