use quoted_table_name for sql generation