- 1

Selecting Multiple Columns ?SQL

In sql lesson 4.2,when buying food... How can i use select statement to code?

11th Apr 2021, 8:11 AM
any art
any art - avatar
5 ответов
+ 3
SELECT ProductName, ProductionDate, ExpirationDate from Products; this is the answer to the question
1st Dec 2021, 5:04 PM
Sydney Ashie
0
This code SELECT ProductName, ProductionDate, ExpirationDate from Products; Always results in error as the productname values appeared with small first letter ( ex: jogurt instead of Jogurt )
1st May 2021, 6:38 AM
Mahmoud Hefni
Mahmoud Hefni - avatar
0
SELECT ProductName, ProductionDate, ExpirationDate from Products
18th May 2022, 5:52 PM
Sawan Bhavsar
Sawan Bhavsar - avatar
- 1
Syntax of the SQL SELECT Statement: SELECT ​column_list FROM table In the given problem, we have a table named "Products" and from that table, we have to select three columns whose names are given. So, we simply have to select those columns by mentioning them. SELECT ProductName, ProductionDate, ExpirationDate from Products;
11th Apr 2021, 8:25 AM
CHANDAN ROY
CHANDAN ROY - avatar
- 2
Try this code it works!!! SELECT InitCap(ProductName) as ProductName, ProductionDate, ExpirationDate FROM Products;
1st May 2021, 5:30 PM
Anniee
Anniee - avatar