Unix Technical Forum

get all values for a person on 1 row?

This is a discussion on get all values for a person on 1 row? within the MySQL forums, part of the Database Server Software category; --> hello, I have a table with geoff value1 value2 value3 geoff value4 value5 value6 is there a way in ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-18-2008, 11:02 PM
Geoff Cox
 
Posts: n/a
Default get all values for a person on 1 row?

hello,

I have a table with

geoff value1 value2 value3
geoff value4 value5 value6

is there a way in which I can get all the values for geoff in one row?
Is concat the way? Not sure how to use it if it is?

Cheers

Geoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-18-2008, 11:02 PM
Paul Lautman
 
Posts: n/a
Default Re: get all values for a person on 1 row?

Geoff Cox wrote:
> hello,
>
> I have a table with
>
> geoff value1 value2 value3
> geoff value4 value5 value6
>
> is there a way in which I can get all the values for geoff in one row?
> Is concat the way? Not sure how to use it if it is?
>
> Cheers
>
> Geoff


GROUP_CONCAT()


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:58 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com