changed import tbl to create tbl syntax
improved sql frontend