例如,在MysqL上,您可以从以下开始:
select concat('(defentity ',t.table_name,')') as defentity from information_schema.tables t where table_schema = 'mySchema';