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
or
in 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 incid
throughcec
or ofcli
. He went deeper or was just achismo, the tester?– Jefferson Quesado