Pulled a flet out into a method (select-table-sql-expr) which can be