Question: SELECT c . customer _ id , o . order _ id , o . order _ date, p . product _ name FROM customer

SELECT c.customer_id, o.order_id, o.order_date, p.product_name FROM customer c, curr_order o, product p WHEREcustomer.customer_id = curr_order.customer_id AND o.product_id = p.product_id ORDER BY o.order_amount;This statement fails when executed. Which change will correct the problem?Remove the table aliases from the WHERE clause.Use the table aliases instead of the table names in the WHERE clause.1 Use the table name in the ORDER BY clause.Include the ORDER AMOUNT column in the SELECT list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!