AGC interview question

asked a lot about sql