Scheme:
radio_bin.id
radio.id
radio.radio_bin -> radio_bin.id
Inquiries
select *
from radio_bin
72 lines.
select *
from radio_bin
where id in (select radio_bin from radio)
50 lines.
(And FWIW :)
select distinct radio_bin
from radio
51 lines, including zero.
This is all good. Now:
select *
from radio_bin
where id not in (select radio_bin from radio)
0 lines.
Why? Should I get 22 radio_bins. ID numbers that don't have radios pointing to them?
source
share