select * from information_schema.TABLES where TABLE_NAME = 'wt_gpsposition_merge' and table_schema = (select database())
mysql查看表在当前数据库是否存在
最新推荐文章于 2023-11-03 17:14:23 发布
select * from information_schema.TABLES where TABLE_NAME = 'wt_gpsposition_merge' and table_schema = (select database())