When trying this query I get FUNCTION id does not exist
On Thu, Nov 22, 2012 at 4:46 PM, Michael Dykman <mdyk...@gmail.com> wrote: > select id from > > (select distinct id, count(*) > > from my_table > > where type in (2,5) > > group by id > > having count(*) = 2)a; >