Interview Questions

Compare a subselect to a join?

COBOL SQL Interview Questions


(Continued from previous question...)

Compare a subselect to a join?

Any subselect can be rewritten as a join, but not vice versa. Joins are usually more efficient as join rows can be returned immediately, subselects require a temporary work area for inner selects results while processing the outer select.

(Continued on next question...)

Other Interview Questions