2022-09-24 20:55:17 +08:00
|
|
|
SELECT
|
|
|
|
total_count,
|
2022-09-25 01:39:19 +08:00
|
|
|
chinese_count,
|
|
|
|
english_count
|
2022-09-24 20:55:17 +08:00
|
|
|
FROM
|
|
|
|
(
|
|
|
|
SELECT
|
2022-09-25 01:39:19 +08:00
|
|
|
count(id) AS total_count,
|
|
|
|
count(DISTINCT chinese) AS chinese_count,
|
|
|
|
count(DISTINCT english) AS english_count
|
2022-09-24 20:55:17 +08:00
|
|
|
FROM
|
|
|
|
`answer`
|
|
|
|
) as tab
|