many thanks for your ansers
You can use a empty db to test
Yes, have tested and with the brackets the sub-select within the Values set does indeed work fine.
If the sub-select in the insert SQL produces more than one row it is still OK and only one row will be inserted.
RBS
Yes, but the result the same (i have Test boot)
interesting
the data in the Berge field are unique for each dataset
i think (not tested yet and not sure if it possible) the statement to Create the Table is
query_gpx="CREATE TABLE Berge (Berg TEXT PRIMARY KEY, Lat TEXT, Lon TEXT, Cmt TEXT, Loc Text)"