Professional Documents
Culture Documents
Database changed
mysql> show tables;
+--------------------------+
| Tables_in_parking_system |
+--------------------------+
| login |
| parking_space |
| parking_type |
| transaction |
+--------------------------+
4 rows in set (0.00 sec)
Parking_space Table holds the details of all parking type space available in this
parking.
mysql> desc transaction;
+------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| vehicle_id | char(20) | YES | | NULL | |
| parking_id | int(11) | YES | | NULL | |
| entry_date | date | YES | | NULL | |
| exit_date | date | YES | | NULL | |
| amount | float(10,2) | YES | | NULL | |
+------------+-------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)