必须用程序完成
可参考 phpmyadmin 的”搜索“功能的实现

解决方案 »

  1.   

    一般都不是一张一张找的,方法1   如果数据量大,可以把数据导入用sphinx搜索,效果很快方法2 如果表数据不太变化,可以把几十张表,合成一张表,再查找方法3  使用union   
           select content  from table1 where name='张三'
        union
       select content  from table2 where name='张三'
     ..................