Created
March 11, 2022 08:25
-
-
Save ikesnowy/adf4d7b9690d2e38c74ed00877fcc3fd to your computer and use it in GitHub Desktop.
This file contains 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
select a, b, c | |
from table1 | |
where a in ('123', '456', '789') and id = (select min(id) from table1 as mirror where mirror.a = table1.a); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment