TTEC interview question

Some SQL queries and dbms