add order by clause
This commit is contained in:
parent
995eb181c1
commit
bc3cecec09
@ -10,5 +10,8 @@ FROM
|
|||||||
s.srce = t.srce
|
s.srce = t.srce
|
||||||
LEFT JOIN LATERAL JSONB_ARRAY_ELEMENTS_TEXT(defn->'unique_constraint'->'fields') WITH ORDINALITY ae(e, rn) ON TRUE
|
LEFT JOIN LATERAL JSONB_ARRAY_ELEMENTS_TEXT(defn->'unique_constraint'->'fields') WITH ORDINALITY ae(e, rn) ON TRUE
|
||||||
GROUP BY
|
GROUP BY
|
||||||
|
t.srce
|
||||||
|
,(ae.e::text[])[1]
|
||||||
|
ORDER BY
|
||||||
t.srce
|
t.srce
|
||||||
,(ae.e::text[])[1]
|
,(ae.e::text[])[1]
|
Loading…
Reference in New Issue
Block a user