From 9df621f85b8081d8772a18d4aab957f5cc76c78f Mon Sep 17 00:00:00 2001 From: usktea Date: Wed, 7 Dec 2022 01:12:04 +0900 Subject: [PATCH] =?UTF-8?q?20221207-=EA=B3=A0=EC=96=91=EC=9D=B4=EC=99=80?= =?UTF-8?q?=EA=B0=9C=EB=8A=94=EB=AA=87=EB=A7=88=EB=A6=AC=EC=9E=88=EC=9D=84?= =?UTF-8?q?=EA=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SELECT , COUNT(column), FROM WHERE = OR = Group by ~ --- .../sql/20221206/solution.sql" | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 "\352\263\240\354\226\221\354\235\264\354\231\200\352\260\234\353\212\224\353\252\207\353\247\210\353\246\254\354\236\210\354\235\204\352\271\214/sql/20221206/solution.sql" diff --git "a/\352\263\240\354\226\221\354\235\264\354\231\200\352\260\234\353\212\224\353\252\207\353\247\210\353\246\254\354\236\210\354\235\204\352\271\214/sql/20221206/solution.sql" "b/\352\263\240\354\226\221\354\235\264\354\231\200\352\260\234\353\212\224\353\252\207\353\247\210\353\246\254\354\236\210\354\235\204\352\271\214/sql/20221206/solution.sql" new file mode 100644 index 00000000..9d9544e5 --- /dev/null +++ "b/\352\263\240\354\226\221\354\235\264\354\231\200\352\260\234\353\212\224\353\252\207\353\247\210\353\246\254\354\236\210\354\235\204\352\271\214/sql/20221206/solution.sql" @@ -0,0 +1,6 @@ +SELECT animal_type, COUNT(animal_type) +FROM animal_ins +WHERE animal_type = 'Cat' +OR animal_type = "Dog" +Group By animal_type +Order By animal_type;