如何在select子句中使用Post in子句(如SQL Server)在Post子句中进行Postg
我在尝试postgresql以下查询如下:
select name,author_id,count(1), (select count(1) from names as n2 where n2.id = n1.id and t2.author_id = t1.author_id from names as n1group by name,author_id当然可以Microsoft SQL Server但是在postegresql它根本不可用。我读了它的文档,似 ...