Neviton interview question

sql queries , javascript