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
17 Antworten
+ 6
DELETE From products
WHERE ExpireDate < 1; SELECT * FROM Products
+ 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?
0
remove the * That means all fields.
0
Thanks
0
SELECT productname,productiondate,expirationdate
FROM products;
Why won't this work says no input 😭
0
Thanks that worked 😀
0
SELECT product name,production date,expiration date
FROM products;
0
SELECT productname, productiondate, expirationdate From Products;
0
When buying food, it is important to make sure it is fresh and not expired.
You are given the following 'Products' list:
0
SELECT ProductName,ProductionDate,ExpirationDate FROM Products;
0
SELECT ProductName, ProductionName, ExpirationDate
From Product;
0
0
DELETE From products
WHERE ExpireDate < 1; SELECT * FROM Products
- 1
You said
from productlist; instead of
from products;
- 1
Oh thanks, it's done 👍
- 1
SELECT ProductName, ProductionDate, ExpirationDate
From products;
- 5
SELECT ProductName, ProductionDate, ExpirationDate
from productlist;
No output ???