If you want to count something inside a group (something the same as auto_increment from mysql), you can use row_number
ROW_NUMBER ()
OVER (PARTITION BY ur_prnt_uid_id ORDER BY ur_chld_uid_id)
pqr.sql: Generate QR Codes with Pure SQL in PostgreSQL
-
As my cat woke me up way too early for a Saturday morning, I decided to put
all this extra time (and my ChatGPT Pro subscription) into good use and
generat...
Acum o săptămână
Niciun comentariu:
Trimiteți un comentariu