What are the parts of an SQL statement?
First, the simplest select statement possible is:
SELECT 'Hi!'
This will print out the value 'Hi!'
. The select statement simply prints out whatever it is told. You can also query from a database:
SELECT 'Hi, ', name FROM users