|
-
September 11th, 2006, 09:23 AM
#1
Registered User
Mysql command
Here is the situation: I have a csv file. The file has:
row 1 jsmith, math
row 2 jsmith, english
row 3 jsmith, history
row 4 jsmith, science
row 5 jdoe, math
row 6 jdoe, science
row 7 jdoe, english
row 8 jdoe, spanish
etc.
What I want is to end up with is this:
row 1 jsmith, math, english, history, science
row 2 jdoe, math, science, english, spanish
Any ideas? Access, Excel or Mysql? Help please.
-
September 12th, 2006, 05:11 AM
#2
Driver Terrier
group by.... but I assume you want another csv output?
So I suggest you create a new table, then update each row in the new table with the data from the old using a loop...
In excel I think you could achieve that with a vbscript...
Which approach would you prefer?
Last edited by NooNoo; September 12th, 2006 at 05:20 AM.
-
September 14th, 2006, 06:04 AM
#3
Registered User
Thanks, Noo Noo for your attention to my problem. I think an Excel solution would be great.
-
September 14th, 2006, 06:06 AM
#4
Driver Terrier
And you know how to write vbscript?
-
September 14th, 2006, 06:13 AM
#5
Registered User
I have a guru I can consult with.
-
September 14th, 2006, 07:02 AM
#6
Driver Terrier
Similar Threads
-
By houseisland in forum Other Software Applications
Replies: 5
Last Post: September 13th, 2006, 07:16 AM
-
By Percy in forum Windows NT/2000
Replies: 10
Last Post: January 15th, 2002, 02:40 PM
-
By tablesalt in forum DOS
Replies: 30
Last Post: May 20th, 2001, 07:51 PM
-
By Underseer in forum Windows NT/2000
Replies: 9
Last Post: April 26th, 2001, 09:46 AM
-
By ClintDaddy in forum Windows 95/98/98SE/ME
Replies: 1
Last Post: October 28th, 1999, 03:35 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks