in reply to OT: MySQL combine 2 tables data when Perl 'fails'
When that finishes you should have a good Table C.1. Read through Table A - insert Table C record with 'tok' and 'count'. 2. Read through Table B - for each record in Table B - find Table C record using 'tok' - if Table C record found, add to existing Table C 'count' - if Table C record NOT found, create new table C record with 'tok' and 'count'
HTH.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OT: MySQL combine 2 tables data when Perl 'fails'
by tachyon (Chancellor) on Feb 10, 2004 at 18:44 UTC | |
by jdtoronto (Prior) on Feb 10, 2004 at 19:09 UTC | |
by hmerrill (Friar) on Feb 10, 2004 at 18:59 UTC | |
by tachyon (Chancellor) on Feb 10, 2004 at 21:32 UTC |