-- The mlinestring_test table is created with the gid smallint column
-- that uniquely identifies the row and the ml1 ST_MultiLineString column.

CREATE TABLE mlinestring_test (gid smallint,
                               ml1 ST_MultiLineString);

-- The INSERT statement inserts the ST_MultiLineString with the
-- ST_MLineFromText function.

INSERT INTO mlinestring_test VALUES(
   1,
   ST_MLineFromText('multilinestring((10.01 20.03,10.52 40.11,30.29 41.56,31.78 10.74),(20.93 20.81, 21.52 40.10))', 1000)
)