Direct Assurance interview question

How to get a table using sql?