mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 18:32:48 +00:00
6 lines
148 B
SQL
6 lines
148 B
SQL
SELECT
|
|
"document".* ,
|
|
(SELECT "count"("id") FROM "paragraph" WHERE document_id="document"."id") as "paragraph_count"
|
|
FROM
|
|
"document" "document"
|