MySql (two) table operation

1. Show all tables:

show tables;

2. Create the table:

//create country table

//Include id, name fields

//id is incremented and used as the primary key

create table country(id int auto_increment ,name varchar(30), primary key(id) );


3.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324814340&siteId=291194637