update
This commit is contained in:
@@ -1,12 +1,13 @@
|
|||||||
SELECT
|
SELECT
|
||||||
total_count,
|
total_count,
|
||||||
distinct_count,
|
chinese_count,
|
||||||
total_count - distinct_count AS repeat_count
|
english_count
|
||||||
FROM
|
FROM
|
||||||
(
|
(
|
||||||
SELECT
|
SELECT
|
||||||
count(text) AS total_count,
|
count(id) AS total_count,
|
||||||
count(DISTINCT text) AS distinct_count
|
count(DISTINCT chinese) AS chinese_count,
|
||||||
|
count(DISTINCT english) AS english_count
|
||||||
FROM
|
FROM
|
||||||
`answer`
|
`answer`
|
||||||
) as tab
|
) as tab
|
Reference in New Issue
Block a user