POSTGRES: SELECT 100 last entries with maximum 3 entries per unique user id

后端 未结 0 1344
-上瘾入骨i
-上瘾入骨i 2021-02-06 15:48

Good day,

I\'m having the following request to get all artworks inner join with their user info:

SELECT a.*, row_to_json(u.*) as users 
FROM artworks a INN         


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