Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> SQL: how many people have more than 2 cars

SQL: how many people have more than 2 cars

From: Ben Thomas <bthomas_at_strider.localdomain>
Date: Wed, 25 Apr 2001 16:58:39 +0400
Message-ID: <9c7dq1$2kip$1@allthetime.news.cais.net>

I ask this question by example:

{table1}:

   person_id

{table2}:

   person_id
   car_id

each person has one entry in {table1} and zero, one or more entries in
{table2}.

I want to know how may people have more than 2 cars. Seems easy but I am missing something.

help?
Much thanks in advance.

Ben Received on Wed Apr 25 2001 - 07:58:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US