Once we have identified all of the fields and assigned each a type, we can create the table. To create a table, use this command:
mysql> create table person (
id int primary key,
username varchar(20),
password varchar(15)
Query OK, 0 rows affected (0.00 sec)
We can see all of the tables in our database with the following command:
mysql> show tables;
+--------------------+
Tables_in_samples
+--------------------+
person
+--------------------+
1 row in set (0.00 sec)