full sql for import