Solved

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

Posted on 2013-11-14
3
247 Views
Last Modified: 2013-11-15
want to create a select query create output  'hello'
want one field returned

maybe this works

select 'hello'
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Dephault earned 250 total points
ID: 39649969
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
 
LVL 19

Assisted Solution

by:bevhost
bevhost earned 250 total points
ID: 39650163
mysql> select 'hello';
+-------+
| hello |
+-------+
| hello |
+-------+
1 row in set (0.00 sec)

mysql>

Open in new window

0
 

Author Closing Comment

by:rgb192
ID: 39651041
Thank you for select statements.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question