1. After the installation is complete, there will be a DB2 Command Window - Administrator in the start menu bar
Open this command window
2.db2
db2, start
3.list databse directory
will list all databases
create databse XXX
Create new database XXX
drop database XXX
Delete existing database XXX
4.connect to XXX
You can connect to the XX database
disconnect XXX
You can disconnect the XX database connection
5.list tables
List all tables in the current database
drop table XX
delete table
6.
Create a new table, enter the above
A new table with four columns and 0 records was created
Format of each row: column name, data type, whether it is empty, others (as above indicates that the ssn attribute is the primary key)
Corresponding to the table below
7.