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.
programming-examples/sql/View/14. Write a query to create...

5 lines
194 B
SQL

/*14. Write a query to create a view that shows the number of orders in each day.*/
CREATE VIEW dateord(ord_date, odcount)
AS SELECT ord_date, COUNT (*)
FROM orders
GROUP BY ord_date;