Hello,

I have two different tables with similar fields (id, name, profession,
hobbies) Some people might be listed in both tables.  I need a write query
to select
count(*) from the tables group by name... i'd like it get something like
this:

Joe Smith..... total 5 records ..... 3 records from table 1 ........ 2
records from table 2

Any help will be greatly appreciated.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to