Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
select a.foo
, a.bar
, b1.qux
, b1.fap
from a
left outer
join b as b1
on a.id = b1.aid
left outer
join b as b2
on a.id = b2.aid
group
by a.foo
, a.bar
, b1.qux
, b1.fap
having b1.fap = min(b2.fap)
select a.foo
, a.bar
, b.qux
, b.fap
from a
left outer
join b
on a.id = b.aid
where b.fap
= ( select min(fap)
from b
where aid = a.id )