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 dd301d897a9302a38adad407f86ce0b4c371d2ca..28802501f827d679aa04b0884507b7b7ffa791b9 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 e9422681d2351e63d2e9e6ce7f767bc2c4363910..a0585151a1d3a929cced6797d30c5294b32ff279 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