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