All the SQL queries for all the questions have been provided below:
Q.1. CREATE TABLE Car
(
CNumber INTEGER,
Brand VARCHAR(30),
Model VARCHAR(30),
Engine FLOAT(4),
Registration VARCHAR(30),
Price INTEGER,
PRIMARY KEY(CNumber)
);
Q. 2. INSERT INTO Car (CNumber, Brand, Model, Engine, Registration, Price)
VALUES (2348, 'Opel', 'vectra', 1.8, 'VSE 648', 19000);
INSERT INTO Car (CNumber, Brand, Model, Engine, Registration, Price)
VALUES (2546, 'Opel', 'zafira', 2.0, 'BFK 297', 29000);
INSERT INTO Car (CNumber, Brand, Model, Engine, Registration, Price)
VALUES (5233, 'Volkswagen', 'Golf', 1.4, 'SB A5526', 15000);
Q. 3. SELECT Model, Engine, Price
FROM Car
WHERE Brand = 'Opel';
Q. 4. SELECT MIN(Price)
FROM Car
WHERE Engine < 2;
Q. 5. UPDATE Car
SET Price = 20000
WHERE Model = 'Golf';
Q. 6. DELETE FROM Car
WHERE Registration LIKE 'V%';
*Please provide feedback if it clarifies your concept.
Emirates College of Technology Lab Exercise #1 AConsider the following answer the questions below 2 table named "Car" and then use database management system to 116 marks Car umber Bra...