Amazon interview question

SQL questions and some Linux commands