Last query I am trying to do

The last query I am trying to accomplish is:

Using the table(employee)

Need it to look like
(employee name) makes (sal) as a (job) for the us

have the column label be Employee Salary and sort records in asending order on job

peanut1010Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

krustDogCommented:
select employeeName+ " makes "+sal + " as a " + job +" for the us " as "Employee Salary" from employee order by job ASC

this should do it.  You might have to convert the salary to a string, I'm not sure what you variables are though
0
peanut1010Author Commented:
what about having the column say Employee Salary

so it would be
Employee Salary
---------------

select employeeName+ " makes "+sal + " as a " + job +" for the us " as "Employee Salary" from employee order by job ASC


the result of the select statment too.

0
krustDogCommented:
The  'as "Employee Salary"'  makes the column

Employee Salary
--------------
Employee1 makes Sal1 as a Job1 for the us
Employee2 makes Sal2 as a Job2 for the us
Employee3 makes Sal3 as a Job3 for the us
Employee4 makes Sal4 as a Job4 for the us


I dunno what you mean by result, I don't have your table.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

peanut1010Author Commented:
Actually I figured it out on my own. That wouldn't work with my oracle 8i.  It actually looks like this

Select employeename || 'makes' || sal || 'as a' || job
|| 'for us' "Employee Salary"
from employee order by job asc

Thanks anyways
0
MindphaserCommented:
peanut1010  asked to have this question closed. If there isn't any objection I will

   PAQ & refund

in 72 hours.

** Mindphaser - Community Support Moderator **
0
MindphaserCommented:
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

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.