-
-
Save hashcc/2d75cca40ceb5a39ae8e4927a4be5abc 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
with | |
recipes_count as ( | |
select | |
ユーザーID, | |
count(レシピID) as レシピ投稿数 | |
from | |
recipes | |
group by | |
ユーザーID | |
order by | |
レシピ投稿数 desc | |
), | |
... | |
--(中略) | |
... | |
select | |
* | |
from | |
recipes_count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment