SELECT * from information_schema.columns where table_schema='wordpress-demo' AND table_name = 'wp_posts' and column_name="order_sn"
mysql 查找某个表中是否有某个字段
最新推荐文章于 2024-04-16 09:38:11 发布
SELECT * from information_schema.columns where table_schema='wordpress-demo' AND table_name = 'wp_posts' and column_name="order_sn"