nference interview question

SQL queries and some terms about dbms