create a query where one field is output and output is hello

want to create a select query create output  'hello'
want one field returned

maybe this works

select 'hello'
LVL 1
rgb192Asked:
Who is Participating?
 
DephaultConnect With a Mentor Commented:
Yep you can use this

SELECT 'HELLO' AS Greeting

or as many as you like

SELECT 'Hello' AS GREETING, 'How are you?' as QUESTION
0
 
bevhostConnect With a Mentor Commented:
mysql> select 'hello';
+-------+
| hello |
+-------+
| hello |
+-------+
1 row in set (0.00 sec)

mysql>

Open in new window

0
 
rgb192Author Commented:
Thank you for select statements.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.