FOR n IN {1, 2, 3, 4, 5}
UNION (
INSERT Crewman {
number := n
first_appearance := cal::to_local_date(1887, 7, 6),
last_appearance := cal::to_local_date(1887, 7, 16),
}
);
A comma is required in line 4 to fix the syntax error:
FOR n IN {1, 2, 3, 4, 5}
UNION (
INSERT Crewman {
number := n,
first_appearance := cal::to_local_date(1887, 7, 6),
last_appearance := cal::to_local_date(1887, 7, 16),
}
);
There's a syntax error in this query:
A comma is required in line 4 to fix the syntax error: