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.
Discussion:
2 comments Page 1 of 1.
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.
So the correct answer is FALSE.
Sanjay Jungi said:
1 decade ago
How is it possible? Practically it is not done. Please give the description for it.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers