Le 11/11/2014 01:39, Ted Roche a écrit :
select * from example where linkcode in (select linkcode from example group
by linkcode having count(*)>1 )
I didn't know that we could have a 'group by' clause without any 'agregation
field' (SUM(), AVG(), ...). It's why I built a '2 stages' query ...
The Foxil
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.