Amazon interview question

Very basic questions about machine learning and sql