469,307 Members | 1,812 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

Combine Multiple records into one

werks
220 100+
Hello experts could someone tell me how can i combine multiple records into one value.

Sample in MS Access:
(Lastname & "" & "," & " " & Firstname) AS Name

How can i do this in MySQL?..tnx in advance

--
Kenneth
"Better Than Yesterday"
Feb 15 '08 #1
4 2357
ronverdonk
4,258 Expert 4TB
I think you are talking about combining different column values into one. Even simpler in MySQL:
Expand|Select|Wrap|Line Numbers
  1. SELECT CONCAT(LastName, ', ', FirstName) as Name ....
  2.  
Ronald
Feb 15 '08 #2
werks
220 100+
That's it!! Many thanks!..

--
Kenneth
"Better Than Yesterday"
Feb 16 '08 #3
ronverdonk
4,258 Expert 4TB
You are welcome. See you again some day.

Ronald
Feb 16 '08 #4
werks
220 100+
You are welcome. See you again some day.

Ronald
Ok..thanks again.

--
Kenneth
"Better Than Yesterday"
Feb 19 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by BeanCounterCPA | last post: by
14 posts views Thread by imani_technology_spam | last post: by
4 posts views Thread by musicloverlch | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.