add table name to Table query entity