From 3dd3d6527cfef7b44aca69936a3e2752c23c50d7 Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Sun, 29 Jan 2023 17:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=9F=A5=E8=AF=A2=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=E7=9A=84=E7=AD=94=E6=A1=88=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1. \350\256\241\346\225\260/config.json" | 5 ++- .../1. \350\256\241\346\225\260/count.md" | 42 ++++++++++++++++--- 2 files changed, 40 insertions(+), 7 deletions(-) diff --git "a/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/config.json" "b/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/config.json" index dd301d8..2880250 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/config.json" @@ -1,6 +1,9 @@ { "node_id": "mysql-ac3c072bc54749bdb82324f2b203890d", - "keywords": ["count", "计数"], + "keywords": [ + "count", + "计数" + ], "children": [], "export": [ "count.json" diff --git "a/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/count.md" "b/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/count.md" index e942268..a058515 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/count.md" +++ "b/data/2.MySQL\344\270\255\351\230\266/4.\350\201\232\345\220\210\345\222\214\345\210\206\347\273\204/1. \350\256\241\346\225\260/count.md" @@ -33,7 +33,12 @@ from items; ## 答案 ``` -3, 4 ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| 4 | 3 | ++----------+-------------+ +1 row in set (0.00 sec) ``` ## 选项 @@ -41,29 +46,54 @@ from items; ### A ``` -4, NULL ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| 4 | NULL | ++----------+-------------+ +1 row in set (0.00 sec) ``` ### B ``` -3, 3 ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| 3 | 3 | ++----------+-------------+ +1 row in set (0.00 sec) ``` ### C ``` -1, 0 ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| 4 | 4 | ++----------+-------------+ +1 row in set (0.00 sec) ``` ### D ``` -NULL, NULL ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| NULL | NULL | ++----------+-------------+ +1 row in set (0.00 sec) ``` ### E ``` -4, 4 ++----------+-------------+ +| count(*) | count(item) | ++----------+-------------+ +| 4 | 0 | ++----------+-------------+ +1 row in set (0.00 sec) ``` \ No newline at end of file -- GitLab