Skip to content

Instantly share code, notes, and snippets.

@KimSoungRyoul
Created May 6, 2019 05:15
Show Gist options
  • Save KimSoungRyoul/979093c546492ae67483ada0fb4ec1f7 to your computer and use it in GitHub Desktop.
Save KimSoungRyoul/979093c546492ae67483ada0fb4ec1f7 to your computer and use it in GitHub Desktop.
expected SQL
select * from 'Model' m
(inner OR left outer) join '정방향_참조_필드' r on m.r_id=r.id
'where '조건절';
select * from '역방향_참조_필드' where id in ('첫번째 쿼리 결과의 id 리스트');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment