update sqlc gen
This commit is contained in:
parent
0bfe1b7378
commit
e2ae058c47
@ -540,7 +540,7 @@ WITH Funnel AS (
|
||||
q.id,
|
||||
q.title AS question_title,
|
||||
a.content AS answer_content,
|
||||
COUNT(*)::FLOAT / NULLIF(q.total_answers, 0) AS percentage
|
||||
CAST(COUNT(*)::FLOAT / NULLIF(q.total_answers, 0) AS INTEGER) AS percentage
|
||||
FROM
|
||||
answer a
|
||||
JOIN (
|
||||
|
@ -1634,7 +1634,7 @@ WITH Funnel AS (
|
||||
q.id,
|
||||
q.title AS question_title,
|
||||
a.content AS answer_content,
|
||||
COUNT(*)::FLOAT / NULLIF(q.total_answers, 0) AS percentage
|
||||
CAST(COUNT(*)::FLOAT / NULLIF(q.total_answers, 0) AS INTEGER) AS percentage
|
||||
FROM
|
||||
answer a
|
||||
JOIN (
|
||||
|
Loading…
Reference in New Issue
Block a user