Amazon interview question

SQL joins Basic Python questions