且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在MySQL中获取最新创建的表?

更新时间:2023-01-29 20:39:01

您可以从information_schema.TABLES中选择最后一个create_time.

You can select the last create_time from information_schema.TABLES.

例如:

select table_name, create_time 
from information_schema.TABLES
where table_schema = 'andomar'
order by CREATE_TIME desc
limit 1