ok i've got a table visitors containing<br><br>long userid ' user id<br>long visid ' visitor id<br>date visdate ' date of visit<br><br>then a table called userfull that contains user information:<br><br>long userid<br>string handle ' name of user<br><br>basically i'm tracking visitors (other members) who visit another user. I want to display this info, so I'm using the query below which works. However I would like to know how many visitors someone has in this same query. But whenever I add a COUNT(*) as numvisitors it gives me an error.. what's the best way to do this? The example will show all of user #3's visitors. Any help would be appreciated.<br><br>SELECT visitors.userid, visitors.visid, visitors.visdate, userfull.handle FROM visitors, userfull WHERE visitors.userid = 3 AND userfull.userid = visitors.visid ORDER BY visitors.visdate DESC<br><br>