On Tue, 13 Jun 2000, Patrick Coulombe wrote:
> SELECT * from friends WHERE friends.f_id = strangers.s_id AND
> friends.categorie = 1
> ----------
> 80 rows
SELECT *
FROM friends F
WHERE friends.categorie = 1 AND EXISTS (SELECT *
FROM strangers
WHERE F.f_id = strangers.s_id);
> Can I just do 1 query and be able to find the number of row for each tables?
We have to use UNION.
Jesus.