IBS Software interview question

dbms depth and sql queries