472,133 Members | 1,250 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

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 2472
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.