Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE DATABASE autopark;
- USE autopark;
- CREATE TABLE cars (
- CarID INT AUTO_INCREMENT PRIMARY KEY,
- Make VARCHAR(50),
- Model VARCHAR(50),
- Description VARCHAR(200),
- Milage INT,
- ImageLink VARCHAR(500)
- );
- INSERT INTO cars (Make, Model, Description, Milage, ImageLink)
- VALUES ('Skoda', 'Octavia', 'Super e, jena q e karala, garajna!', 160556, 'https://www.nastarta.com/wp-content/uploads/2019/11/2020-skoda-octavia-2-1.jpg');
- INSERT INTO cars (Make, Model, Description, Milage, ImageLink)
- VALUES ('Opel', 'Astra', 'Ne gnie mnogo', 120546, 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Opel_Astra_G_front_20081128.jpg/1200px-Opel_Astra_G_front_20081128.jpg');
- SELECT * FROM cars;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement