-
-
Save hashcc/a2ab1a777bdb7f606809a25aec101f3e 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 | |
users.ユーザーID, | |
ニックネーム, | |
登録日時 | |
count(レシピID) as レシピ投稿数 | |
from | |
recipes | |
join | |
users | |
on | |
recipes.ユーザーID = users.ユーザーID | |
group by | |
ユーザーID | |
order by | |
レシピ投稿数 desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment