比如需要查詢 A表的count,B表的count ,C表的count
在mysql中可以
select * form(
(select count(1) as a from A) ,
(select count(1) as b from B) ,
(select count(1) as c from C)
)
但是在PGSQL中要怎么寫?不使用UNION
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/100621.html
標籤:疑難問題
上一篇:wordcloud
下一篇:SQL中分類匯總的問題
