Exam 6: Introduction to SQL
Exam 1: The Database Environment and Development Process116 Questions
Exam 2: Modeling Data in the Organization103 Questions
Exam 3: The Enhanced E-R Model103 Questions
Exam 4: Logical Database Design and the Relational Model102 Questions
Exam 5: Physical Database Design and Performance103 Questions
Exam 6: Introduction to SQL105 Questions
Exam 7: Advanced SQL107 Questions
Exam 8: Database Application Development105 Questions
Exam 9: Data Warehousing103 Questions
Exam 10: Data Quality and Integration105 Questions
Exam 11: Big Data and Analytics102 Questions
Exam 12: Data and Database Administration110 Questions
Exam 13: Distributed Databases100 Questions
Exam 14: Object-Oriented Data Modeling105 Questions
Select questions type
What will be returned when the following SQL statement is executed? Select driver_no, count(*) as num_deliveries
From deliveries
Where state = 'MA'
Group by driver_no;
(Multiple Choice)
4.9/5
(36)
Which of the following is a technique for optimizing the internal performance of the relational data model?
(Multiple Choice)
4.8/5
(29)
The asterisk (*) wildcard designator can be used to select all fields from a table as well as in WHERE clauses when an exact match is not possible.
(True/False)
4.9/5
(46)
The following two SQL statements will produce the same results.
Select last_name, first_name
from customer
where credit_limit > 99 and credit_limit < 10001;
Select last_name, first_name
from customer
where credit_limit between 100 and 10000;
(True/False)
4.8/5
(38)
Any create command may be reversed by using a(n) ________ command.
(Multiple Choice)
4.9/5
(35)
When the SELECT clause in the create view statement contains the keyword DISTINCT, the view can be used to update data.
(True/False)
4.9/5
(35)
The WHERE clause is always processed before the GROUP BY clause when both occur in a SELECT statement.
(True/False)
4.7/5
(38)
Which of the following can produce scalar and vector aggregates?
(Multiple Choice)
4.9/5
(28)
If multiple Boolean operators are used in an SQL statement, NOT is evaluated first, then AND, then OR.
(True/False)
4.9/5
(40)
The DROP command deletes rows from a table individually or in groups.
(True/False)
4.8/5
(25)
The following two SQL statements will produce different results.
Select last_name, first_name
from customer
where state = 'MA' or state = 'NY' or state = 'NJ' or state = 'NH' or state = 'CT';
Select last_name, first_name
from customer
where state in ('MA','NY','NJ','NH','CT');
(True/False)
4.7/5
(35)
The ORDER BY clause is the first statement processed in an SQL command.
(True/False)
4.7/5
(30)
Given a table named store with 5 fields: store_id, address, city, state, zipcode, why would the following insert command not work? insert into store values ('234 Park Street')
(Multiple Choice)
4.9/5
(38)
Count(*) tallies only those rows that contain a value, while Count counts all rows.
(True/False)
4.7/5
(31)
Showing 61 - 80 of 105
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)