Home>Article>Database> What is the sql statement to view the table structure?

What is the sql statement to view the table structure?

hzc
hzc Original
2020-06-08 11:46:50 26274browse

What is the sql statement to view the table structure?

The method to view the sql statement of the table structure is:

Oracle view table structure
1. Command window: desc table name
2.sql window: select * from user_tab_columns where table_name='uppercase table name';

##MySQL view table structure

1.View table structure: desc table name

Recommended tutorial: "

mysql tutorial"

The above is the detailed content of What is the sql statement to view the table structure?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn