Accenture interview question

How to write SQL queries, etc.