Not quite the right forum but :
I have four tables (levels of a directory) and I'm building a search query which needs to join all four levels and check values in all four tables. Only trouble is sometimes the fourth level/table doesn't exist - the directory only goes down three levels sometimes. If I inner join the tables then everything is fine, except that I miss all routes that don't have a fourth level (there's nothing to join). But I can't do an outer join on the fourth table because I can't combine an inner and outer join in the same query (I would be inner joining the first three tables and outer joining the last one.)
If you understood that, can you suggest a solution?