Say you have a table:
CREATE TABLE tab (
x integer,
y integer,
);
And multiple rows of the form x, [y1, y2, ...]:
x ys
1 [2,3]
4 [5,6,7]
There might be an arbitrary but non-zero (or non-nil) amount of ys in each row. x always non-nil.
How to insert such that you end up with a row for each x, y pair, that is:
x y
1 2
1 3
4 5
4 6
4 7