A shortcut INSERT statement to enter the data.
mysql>
mysql> CREATE TABLE sales_rep(
-> employee_number INT,
-> surname VARCHAR(40),
-> first_name VARCHAR(30),
-> commission TINYINT
-> );
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql>
mysql> INSERT INTO sales_rep VALUES(1,'Rive','Sol',10);
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO sales_rep VALUES(2,'Gordimer','Charlene',15);
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO sales_rep VALUES(3,'Serote','Mike',10);
Query OK, 1 row affected (0.00 sec)
mysql>
mysql> drop table sales_rep;
Query OK, 0 rows affected (0.00 sec)
mysql>
Related examples in the same category