MySQL Forums
Forum List  »  Newbie

Re: Semi-subquery functionality problem
Posted by: Jay Pipes
Date: July 01, 2005 04:19PM

SELECT COUNT(*) FROM projects p
INNER JOIN project_images pi ON p.project_id = pi.project_id
WHERE p.project_type = 1;

I've assumed the project_id column is in projects and project_images...

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Semi-subquery functionality problem
July 01, 2005 04:19PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.