Fix qgram generate select to minified insert sintax