INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (2, 1, -1, -1, ' 0 1 4 5 12 13 14 15 16 17 19 20 21 22 ', NULL); INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (3, 1, -1, -1, ' 0 1 4 5 12 13 14 15 16 17 19 20 21 22 ', NULL); INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (6, 1, -1, -1, ' 0 1 4 5 13 21 26 31 32 33 34 35 ', NULL); INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (4, 1, -1, -1, ' 0 1 4 5 12 13 14 16 17 19 21 22 23 24 ', NULL); INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (5, 1, -1, -1, ' 0 1 4 5 12 16 17 21 26 27 28 29 30 ', NULL); INSERT INTO QUERY (ID, PUBLICACCESS, USERID, USERGROUP, QUERY, IMAGEID) VALUES (7, 1, -1, -1, ' 0 1 4 5 12 13 21 26 36 37 ', NULL); UPDATE GENERATORS SET VAL = 7 WHERE GENNAME='QUERYGEN';