3. Create a database table data

Create a database command create database [database name];
select a database manipulation instructions use [database name]; Database changed will
see all the data in a database table show tables; Empty set then the database appear in a data table and no
create a table of instructions:
the CREATE tABLE PET (
name VARCHAR (20 is),
owner VARCHAR (20 is),
Species VARCHAR (20 is),
Sex CHAR (. 1),
Birth DATE,
Death DATE;

Guess you like

Origin www.cnblogs.com/liang-xp/p/11502403.html