For the first part, it's pretty straightforward:
select table1.column1, ... from table1, table2 where table1.id = table2id;
For the full query, I think you can do something like this:
select table1.column1, ...
from table1, table2
where table1.id = table2id
and table1.id not in
(select table1.id from table1, table3
where table1.id = table3.id
and table1.ribbon_id = table3.ribbon_id);
If your dbms doesn't support NOT IN, you probably have to do two
queries.