add batch remove batch split batch comment selection show hidden batches hide batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
folder subject_id wf_id instance_id workflow_name session_id session_name mapping_name insert_date update_date
a 457 305783 213606 b 305781 c f null 2024-01-28 13:04:08
a 457 305783 213608 b 305780 d g null 2024-01-28 13:04:08
a 457 305783 213759 b 306008 e h null 2024-01-28 13:04:08
l 443 287502 198518 j 287456 r null null 2024-01-28 13:04:09
o 234 305521 213376 x 305519 z p null 2024-01-28 13:04:09
o 234 305521 213376 x 305519 z p null 2024-01-28 13:04:09
SELECT 6
CREATE TABLE
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
folder subject_id wf_id instance_id workflow_name session_id session_name mapping_name insert_date update_date
a 457 305783 213606 b 305781 c f null 2024-01-28 13:04:08
a 457 305783 213608 b 305780 d g null 2024-01-28 13:04:08
a 457 305783 213759 b 306008 e h null 2024-01-28 13:04:08
a 457 305783 213759 b 306008 e h null 2024-01-28 13:04:08
l 443 287502 198518 j 287456 r null null 2024-01-28 13:04:09
o 234 305521 213376 x 305519 z p null 2024-01-28 13:04:09
SELECT 6
ERROR:  column s1.subject_id does not exist
LINE 3:  WHERE t1.subject_id=s1.subject_id and t1.wf_id=s1.wf_id and...
                             ^
HINT:  Perhaps you meant to reference the column "t1.subject_id".