mysql>
mysql>
mysql> CREATE TABLE PENALTIES(
-> PAYMENTNO INTEGER NOT NULL,
-> PLAYERNO INTEGER NOT NULL,
-> PAYMENT_DATE DATE NOT NULL,
-> AMOUNT DECIMAL(7,2) NOT NULL,
-> PRIMARY KEY (PAYMENTNO)
-> );
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> INSERT INTO PENALTIES VALUES (1, 6, '1980-12-08', 100);
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO PENALTIES VALUES (2, 44, '1981-05-05', 75);
Query OK, 1 row affected (0.00 sec)
mysql>
mysql> CREATE INDEX PENALTIES_AMOUNT ON
-> PENALTIES (AMOUNT);
Query OK, 2 rows affected (0.01 sec)
Records: 2 Duplicates: 0 Warnings: 0
mysql>
mysql> drop table penalties;
Query OK, 0 rows affected (0.00 sec)