Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.02.08 - 오늘의 SQL #124

Merged
merged 2 commits into from Feb 8, 2022
Merged

22.02.08 - 오늘의 SQL #124

merged 2 commits into from Feb 8, 2022

Conversation

mildsalmon
Copy link
Owner

No description provided.

단순히 조인만을 이용해서 처리하려니까 도저히 방법이 떠오르지 않았다.

그래서 단순하게, 조인 조건을 알맞게 주고, group by와 having 조건을 주어서 처리했다.

x와 y가 같은 경우와 x와 y가 다를 경우를 나눠서 풀었다.
Having 조건식을 간략화시켰다.

어찌 이런 생각을 할 수 있는걸까..
@mildsalmon mildsalmon merged commit 9563d17 into master Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant