Show sourcecode
The following files exists in this folder. Click to view.
min_databas_database.sql
min_databas_extra.sql
min_databas_table_cars.sql
min_databas_table_garage.sql
min_databas_table_kompisar.sql
min_databas_table_owners.sql
min_databas_table_pdodemotable.sql
min_databas_table_users.sql
min_databas_table_cars.sql
36 lines UTF-8 Unix (LF)
-- --------------------------------------------------------
--
-- Table structure for table `cars`
--
CREATE TABLE `cars` (
`car_id` int NOT NULL,
`licence_plate` varchar(15) COLLATE utf8mb3_swedish_ci NOT NULL,
`color` varchar(40) COLLATE utf8mb3_swedish_ci NOT NULL,
`garage` int NOT NULL,
`owner` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_swedish_ci;
--
-- Dumping data for table `cars`
--
INSERT IGNORE INTO `cars` (`car_id`, `licence_plate`, `color`, `garage`, `owner`) VALUES
(4, 'ABC123', 'Grön', 1, 1),
(5, 'MINBIL', 'Röd', 1, 1),
(6, 'HEJ128', 'Blå', 1, 2),
(7, 'XYZ942', 'Grön', 1, 1),
(8, 'JWS521', 'Vit', 1, 2),
(9, 'PQL015', 'Svart', 2, 1),
(10, 'YUH671', 'Grön', 4, 4),
(11, 'GRU982', 'Kritvit', 3, 3),
(12, 'HUR513', 'Röd', 3, 5),
(13, 'OAF135', 'Blå', 5, 6),
(14, 'SCP096', 'Vit', 3, 3),
(15, 'PIL125', 'Svart', 4, 5),
(16, 'PER620', 'Blå', 6, 1),
(17, 'YBC824', 'Svart', 1, 3),
(18, 'BND007', 'Vit', 6, 2);