Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql技巧 #10

Open
ichengzi opened this issue Mar 27, 2020 · 0 comments
Open

mysql技巧 #10

ichengzi opened this issue Mar 27, 2020 · 0 comments

Comments

@ichengzi
Copy link
Owner

ichengzi commented Mar 27, 2020

查询表的信息, 查看表的大致rows

SELECT 
    *
FROM
    information_schema.tables
    where table_name ='xxxx'

查询表定义

desc tablename;//表名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant