ABC interview question

All about sql and plsql