那你可以先查询select table_name from cat查出表名,然后动态执行sql语句就可以了。