IBM Interview Question

he asked me dsa and sql queries too