在一个查询中查看所有数据库和表的样本的最佳方式是什么?
例如:while (show databases) { foreach database_name (select * from table_name limit 2)};
[Test_DB] Test_DB.one
+---------------+--------------+
| ip | tstamp |
+---------------+--------------+
| 192.168.10.10 | 01/13/2013 |
| 192.168.10.11 | 01/14/2013 |
+---------------+--------------+
[Test_DB] Test_DB.two
+----------------+--------------+
| mac | tstamp |
+----------------+--------------+
| dead.beef.cake | 01/13/2013 |
| dead.beef.cake | 01/14/2013 |
+----------------+--------------+