- use database use database name
eg:
use weiying
2. View all tables in the library
Show tables
3. View the structure of the table desc table name
desc score
4. Create table create table table name (field data type, field data type)
eg:
use weiying
2. View all tables in the library
Show tables
3. View the structure of the table desc table name
desc score
4. Create table create table table name (field data type, field data type)