Prologic First interview question

OOPS concept, joins in SQL, basic JavaScript questions.