Forum: Datenbanken
Delphi
by jobo,
16. Jun 2020
Which way to start complex joins is a difficult question.
In general I would start with the answer:
It's oracle, the optimizer works quite well, so don't care about performance etc.
Just use a join style, which suits You and Your understanding of the model / use case.
If you have a working statement You can start tweaking.
Btw. it's also possible and very helpfull to build views, doing...
Forum: Datenbanken
Delphi
by jobo,
15. Jun 2020
even more formatting (quite usefull for understanding what's going on)
Select Distinct dm.column17 cell,
dm.column3 auto_id,
dm.column5,
dm.column8 Mod_Status,
dmZ.column3 BAT,
dm7.column4 MOD_VST_ID,
dm7.column8 Mod_Status,
dm7.ST_DATUM,