insert into Questions (qID, qDescription, QText, qType, qFormat, qHelp)
select variable_name, Definition, Field_name, 'TEXT', length, dependencies from ImportSpecs
where variable_name not in (select qID from Questions);
update `ImportSpecs` 
set variable_name=Field_name where variable_name=''
