clear markdown compare help donate or buy diddy dollings comments/suggestions/bugs a leap of faith? bible365
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 635750 fiddles created (13383 in the last week).

create table foo (id text); create table foobar (fooid text, barid int); insert into foo values ('a'),('b'),('c'),('d'); insert into foobar values ('a',1),('a',2),('b',2),('b',3);
4 rows affected
4 rows affected
 hidden batch(es)


select barid from foobar group by barid having count(fooid) = (select count(distinct fooid) from foobar)
barid
2
 hidden batch(es)