Databases SQL Basics Getting Data from a Database Categorizing Your Output with 'AS'

What is wrong with the folllowing query? SELECT name AS Product Name,description AS Product Description, FROM products;

What is wrong with the following query? SELECT name AS Product Name,description AS Product Description, FROM products;

3 Answers

Tristan Magpantay
Tristan Magpantay
Full Stack JavaScript Techdegree Student 14,032 Points

you need to put Product Name and Product Description inside quotes because of the white space and delete the commat before From

It worked! thanks a lot my friend!