0

Help here with SQL Selecting Multiple Columns Write a query the ProductName, ProductionDate

Write a query to select the ProductName, ProductionDate and ExpirationDate. Use the SELECT statement and separate the required columns by commas. This is how I understand it SELECT * ProductName, ProductionDate, ExpirationDate From products; https://www.sololearn.com/coach/981?ref=app

5th Mar 2021, 8:36 PM
Steve Nova
Steve Nova - avatar
17 Respostas
+ 6
DELETE From products WHERE ExpireDate < 1; SELECT * FROM Products
18th Jul 2022, 2:13 PM
Ajay Sharma
+ 4
select productname, productiondate, expirationdate from products Yogurt, 2020-11-19,2021-01-19 Juice, 2020-10-10,2022-10-10 Milk, 2020-08-19, 2020-08-23 It says there a syntax around yogurt and 2020. What can the problem be?
1st Oct 2022, 7:26 PM
Jason Strickland
0
remove the * That means all fields.
5th Mar 2021, 8:46 PM
Jerry Hobby
Jerry Hobby - avatar
0
Thanks
9th Apr 2021, 3:45 PM
Prajakta Patil
Prajakta Patil - avatar
0
SELECT productname,productiondate,expirationdate FROM products; Why won't this work says no input šŸ˜­
3rd May 2021, 1:13 AM
Jarrad Carl Clemson
Jarrad Carl Clemson - avatar
0
Thanks that worked šŸ˜€
3rd May 2021, 5:33 PM
Jarrad Carl Clemson
Jarrad Carl Clemson - avatar
0
SELECT product name,production date,expiration date FROM products;
21st Jun 2021, 11:01 AM
Anthony Dwomoh
Anthony Dwomoh - avatar
0
SELECT productname, productiondate, expirationdate From Products;
9th Jul 2021, 12:22 PM
Muhammad Azhar Salim
Muhammad Azhar Salim - avatar
0
When buying food, it is important to make sure it is fresh and not expired. You are given the following 'Products' list:
29th Jul 2021, 4:11 PM
462- paramesh
0
SELECT ProductName,ProductionDate,ExpirationDate FROM Products;
10th Dec 2021, 2:07 PM
MOHAMED NAZEER FATHIMA RIHAM
0
SELECT ProductName, ProductionName, ExpirationDate From Product;
26th Jan 2022, 6:11 PM
Damilola Tunde Yusuf
0
16th Oct 2022, 2:17 PM
Mico Limbanganon
0
DELETE From products WHERE ExpireDate < 1; SELECT * FROM Products
29th Jul 2024, 6:14 PM
mohammad zare
- 1
You said from productlist; instead of from products;
11th Apr 2021, 2:25 PM
Steve Nova
Steve Nova - avatar
- 1
Oh thanks, it's done šŸ‘
12th Apr 2021, 6:23 AM
Ravi venkateswarlu
Ravi venkateswarlu - avatar
- 1
SELECT ProductName, ProductionDate, ExpirationDate From products;
3rd May 2021, 5:14 PM
Steve Nova
Steve Nova - avatar
- 5
SELECT ProductName, ProductionDate, ExpirationDate from productlist; No output ???
11th Apr 2021, 11:08 AM
Ravi venkateswarlu
Ravi venkateswarlu - avatar