Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这看起来很愚蠢,但我真的不知道这件事。今天,我需要获取 mysql 表中的属性数量(在 phpmyadmin 中)。我可以得到 phpmyadmin (mysql) 中列名的计数吗?
为此,您可以在 phpmyadmin 中编写 sql 查询。
SELECT count(*) FROM information_schema.columns WHERE table_name = '<table_name>'