Database - Introduction to SQL - Discussion

Discussion Forum : Introduction to SQL - True or False (Q.No. 23)
23.
The SQL statement: SELECT Number1 + Number 2 AS Total FROM NUMBER_TABLE; adds two numbers from each row together and lists the results in a column named Total.
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Sanjay Jungi said:   1 decade ago
How is it possible? Practically it is not done. Please give the description for it.

Radhika Patel said:   12 months ago
False. The SQL statement contains a syntax error due to the space in Number 2. Column names cannot contain spaces unless they are enclosed in quotes.

So the correct answer is FALSE.

Post your comments here:

Your comments will be displayed after verification.