From 6b5f9dc57a8591ec7032e75a95d068c10873bbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Antonio=20Chac=C3=B3n=20Guti=C3=A9rrez?= <138903866+joseantoniochacon@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:34:10 -0600 Subject: [PATCH] Time: 530 ms (99.13%), Space: 0B (100.00%) - LeetHub --- 1729-find-followers-count/1729-find-followers-count.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 1729-find-followers-count/1729-find-followers-count.sql diff --git a/1729-find-followers-count/1729-find-followers-count.sql b/1729-find-followers-count/1729-find-followers-count.sql new file mode 100644 index 0000000..741d447 --- /dev/null +++ b/1729-find-followers-count/1729-find-followers-count.sql @@ -0,0 +1,2 @@ +# Write your MySQL query statement below +SELECT user_id, COUNT(follower_id) AS followers_count FROM Followers GROUP BY user_id ORDER BY user_id; \ No newline at end of file