MicroPact interview question

How do you write basic different types of SQL statements.