3
I’m creating a query and my pull request returned because the Code Star considered that the OR is not good for relationship tables.
Example:
FROM LEFT JOIN administracao.cidade cid
ON (cid.cid_cd_cidade = cec.cec_cd_cidade)
OR (cid.cid_cd_cidade = cli.cli_cd_cidade)
What would you recommend instead?
I consult with
orin junctions, in very specific cases. For example, if I can reach the same object through more than one path in the relationship. Like your case you put up, might come incidthroughcecor ofcli. He went deeper or was just achismo, the tester?– Jefferson Quesado