IBM interview question

he asked me dsa and sql queries too