eWave interview question

All about PHP OOP and SQL