ik heb de volgende query:
select p.p_id, p.achternaam, a.merk, a.type, count(p.achternaam) as teller
from particulier as p, auto as a
where p.p_id=a.k_id
group by p.achternaam, a.merk, a.type
maar nu wil ik alles selecteren waar teller>1
maar dit is volgens mij onmogelijk om dit ook in deze query te doen he?? dit zal ik dan in php moeten oplossen, of zie ik dit verkeerd?
select p.p_id, p.achternaam, a.merk, a.type, count(p.achternaam) as teller
from particulier as p, auto as a
where p.p_id=a.k_id
group by p.achternaam, a.merk, a.type
maar nu wil ik alles selecteren waar teller>1
maar dit is volgens mij onmogelijk om dit ook in deze query te doen he?? dit zal ik dan in php moeten oplossen, of zie ik dit verkeerd?