COUNT in postgresql based on 2

前端 未结 0 1581
抹茶落季
抹茶落季 2021-01-12 05:51

In PostgreSQL, I would like to calculate the following query.

ROUND(COUNT(session_id)::decimal/COUNT(DiSTINCT session_id),2)

But, it has to b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题