Created
June 18, 2024 20:19
-
-
Save maxjustus/79ddde3cddb3d0982f2a9c290c09ed77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- uses pk assuming pk is y, z | |
select * from x where (y, z) in (select y, z from f); | |
-- does not use pk | |
select * from x where (y, z) in (select (y, z) from f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment