Z2Data interview question

some questions about database testing and database queries