gpt4 book ai didi

mysql - 检查数据库模式 mysql

转载 作者:行者123 更新时间:2023-11-29 03:50:45 24 4
gpt4 key购买 nike

windows下的MySQL命令行客户端有没有命令可以查看数据库中的所有表,或者显示特定表的schema,类似于sqlite3中的.tables或者\dt 在 psql 中?

最佳答案

[误读]

你正在寻找 SHOW TABLES 听起来像。

要查看表的架构,请使用 DESCRIBE table_name;

关于mysql - 检查数据库模式 mysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8479817/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com