proper instert sql query
back focus