Question: Question 6 (0.5 points) This command was used to create a table: CREATE TABLE vehicletype (carid INTEGER PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT,year INTEGER); At
Question 6 (0.5 points)
This command was used to create a table: CREATE TABLE vehicletype (carid INTEGER PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT,year INTEGER);
At least 25 rows have been inserted with different types of vehicles (truck, sedan, SUV, sport) and manufacturer (Chevrolet, Ford, Toyota, etc.), and year the vehicle was manufactured. What would be the result of this command:
Select * FROM vehicletype WHERE typeofvehicle=truck ORDER BY year;
Question 6 options:
|
|
A list of all the vehicles in the database would be displayed and ordered by year manufactured.
| ||||||||||||||||||||
|
| A list of only the trucks would be displayed and those vehicles would be listed in order of the year the vehicle was manufactured. Question 7 (0.5 points) (True/False). This command was used to create a table: CREATE TABLE vehicletype (carid INTEGER PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT); Will the following instruction add a row to the table? INSERT INTO vehicletype VALUES (1, SUV, Honda); Question 7 options:
Question 8 (0.5 points) Assuming that a table has been correctly constructed with the command CREATE TABLE vehicletype (carid INTEGER PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT, year INTEGER, inventoryonhand INTEGER); and populated with at least 25 rows, which of the following is NOT a valid aggregate function: Question 8 options:
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
