SQL Server와 같은 join in from 절을 사용하여 select 절에서 Postgresql 하위 쿼리를 수행하는 방법은 무엇입니까? 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 n1 group by name, author_id 이것은 Microsoft SQL Server에서 확실히 작동하지만 postegresql에서는 전혀 작동하지 않습니다.문서를 조금 읽었는데 다음과 같이 다시 작성할 수 있을 것 같습니다. select name, author..