add sqlquery model controller