You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
256 B
MySQL
5 lines
256 B
MySQL
5 years ago
|
/*Write a SQL statement to display the orders with all information in such a manner that, the older order
|
||
|
date will come first and the highest purchase amount of same day will come first.*/
|
||
|
SELECT *
|
||
|
FROM orders
|
||
|
ORDER BY ord_date,purch_amt DESC;
|