I have two tables. One called HOSTS and one called GUESTS. The HOSTS table consists of:
* hid
* firstname
* lastname
* email
hid is the unique Host Identifier which is an INTEGER, primary key and auto-incremented.
The GUESTS table consists of:
* gid
* hid
* gfname
* glname
gid is the unique Guest Identifier which is an INTEGER, primary key and auto-incremented.
The desired output is to show on each row the HOSTS and a sum total (figure) of guests each host has.
firstname lastname email "tot num of guests"
How do one accomplish this?