MySQL Forums
Forum List  »  Microsoft SQL Server

Re: sub queries
Posted by: Mike Hillyer
Date: October 12, 2004 01:20PM

SELECT film.* FROM film, filmcopy WHERE SUM(filmcopy.buyerid) = 0 AND film.filmno = filmcopy.filmid GROUP BY film.filmno;

Is that what you are after?

Mike Hillyer, Technical Writer
Office: +1 403-380-6535


"The Open Source movement has become a major force across the software industry, and MySQL is the world's most popular open source database."
--Fortune Magazine

Options: ReplyQuote

Written By
October 10, 2004 01:50AM
Re: sub queries
October 12, 2004 01:20PM

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.