ABCDEFG interview question

about sql and oops, dbms , python