0

You want to see the weekly delivery report. Write a query to output all customers and their orders in one table (fullname - age

Help!!!!

11th May 2021, 7:16 AM
Phạm Nguyễn Phương Nam
Phạm Nguyễn Phương Nam - avatar
3 Respuestas
+ 2
SELECT customers.fullName, Customers.age,Customers.address, Orders.Amount FROM customers LEFT OUTER JOIN orders ON customers.ID=Orders.Customerid;
1st Jul 2021, 7:05 PM
darla Gayathri
0
You want to see the weekly delivery report. Write a query to output all customers and their orders in one table (fullname - age - address - amount).
11th May 2021, 7:16 AM
Phạm Nguyễn Phương Nam
Phạm Nguyễn Phương Nam - avatar
0
Consider using SELECT INTO, and the YEARWEEK function, something like this: SELECT fullname, age, address, amount INTO <new table name> FROM <source query/view/table/join> WHERE YEARWEEK(<source date column>) = YEARWEEK(Now())
11th May 2021, 2:35 PM
Brian
Brian - avatar