Skip to main content

Find Second Highest Order

MediumPremium

You are given the following tables:

orders table:

order_idcustomer_idorder_dateorder_amountdepartment_id
integerintegerdateintegerinteger

departments table:

department_iddepartment_name
integerstring

customers table:

customer_idfirst_namelast_name
integerstringstring

Find the 2nd highest order amount in the fashion department. Your output should have the following column: order_amount