Mysql creates a database table, checks the table structure, checks the data in the table, and checks the table creation statement

Mysql creates a database table, checks the table structure, checks the data in the table, and checks the table creation statement

 

 

1. Create a database table create table t_student (

Table attributes are separated by

The last line is not used,);

 

2. Check the table structure desc t_student;

3. View the data in the table select * form t_student

4. View the table creation statement show create table t_student

 

 

Guess you like

Origin blog.csdn.net/logtcm4/article/details/127021478