init
This commit is contained in:
12
sql/analysis.sql
Normal file
12
sql/analysis.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
SELECT
|
||||
total_count,
|
||||
distinct_count,
|
||||
total_count - distinct_count AS repeat_count
|
||||
FROM
|
||||
(
|
||||
SELECT
|
||||
count(text) AS total_count,
|
||||
count(DISTINCT text) AS distinct_count
|
||||
FROM
|
||||
`answer`
|
||||
) as tab
|
Reference in New Issue
Block a user