Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

excel 3. (True/False). Will this SQL statement create a table called vehicletype ? CREATE TABLE vehicletype (carid PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT); Question 3

excel

3. (True/False). Will this SQL statement create a table called vehicletype?

CREATE TABLE vehicletype (carid PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT);

Question 3 options:

True

False

4. This command was used to create a table: CREATE TABLE vehicletype (carid INTEGER PRIMARY KEY, typeofvehicle TEXT, manufacturer TEXT);

Which of the following would correctly add a row of data to the table?

Question 4 options:

INSERT INTO VALUES (1,truck,Chevrolet);

INSERT INTO vehicletype VALUES (1, truck, Chevrolet);

INSERT INTO vehicletype (1, truck, Chevrolet);

INSERT INTO vehicletype VALUES(1, truck, Chevrolet);

5. (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 (1, SUV, Honda);

Question 5 options:

True

False

6. 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, etc.) and manufacturer (Chevrolet, Ford, Toyota, etc.), and year the vehicle was manufactured. What would be the result of this command:

Select * FROM vehicletype WHERE manufacturer=Ford ORDER BY year;

Question 6 options:

A list of all the rows in the database would be displayed.

A list of only the cars manufactured by Ford would be displayed and those cars would be listed in order of the year the vehicle was manufactured.

A list of all the cars would be displayed and all cars manufactured in the same year would be listed together.

A list of cars manufactured by Ford would be displayed in the order in which they were entered into the database.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions