Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > SQL Question
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 3025 of 3255
Post > Topic >>

SQL Question

by joshua@[EMAIL PROTECTED] (Joshua) Mar 3, 2008 at 04:21 PM

Hello,

Please let me know if you can assist.... consider the following table 
via the following sql statement:

SELECT ronum, jobnum, jobcode FROM slrojobs WHERE ronum = '56890' ORDER 
BY jobnum

The above query retrieves the following results....

ronum        jobnum        jobcode
56890        1                     FLPQ
56890        2                     W


My question is this. I want to list the 'jobcodes' as follows for each 
ronum in 1 field returned that is comma seperated.

FLPQ, W   




Please let me know if anyone has a solution.
Thanks!!!!! :)

--
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your Subscription:
http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-novice
 




 5 Posts in Topic:
Function problem after alter table
srd1@[EMAIL PROTECTED] (  2008-03-03 12:15:08 
Re: Function problem after alter table
tgl@[EMAIL PROTECTED] (T  2008-03-03 16:40:33 
SQL Question
joshua@[EMAIL PROTECTED]   2008-03-03 16:21:06 
Re: SQL Question
vka@[EMAIL PROTECTED] (&  2008-03-04 02:06:50 
Re: SQL Question
vka@[EMAIL PROTECTED] (&  2008-03-04 12:51:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 2:23:20 CDT 2008.