如何查看数据表中的记录
-
mysql> select * from pet;
Empty set (0.00 sec)
如何往数据表中添加数据记录
-
mysql> INSERT INTO pet
-> VALUES('Puffball','Diane','hamster','f','1999-03-30',NULL)
Query OK, 1 row affected (0.03 sec)
-
再次查询
mysql> select * from pet;
略
mysql> select * from pet;
Empty set (0.00 sec)
mysql> INSERT INTO pet
-> VALUES('Puffball','Diane','hamster','f','1999-03-30',NULL)
Query OK, 1 row affected (0.03 sec)
再次查询
mysql> select * from pet;
略