Exam 14: Access Databases and SQL
Exam 1: An Introduction to Visual Basic 201544 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure60 Questions
Exam 5: More on the Selection Structure58 Questions
Exam 6: The Repetition Structure60 Questions
Exam 7: Sub and Function Procedures60 Questions
Exam 8: String Manipulation60 Questions
Exam 9: Arrays60 Questions
Exam 10: Structures and Sequential Access Files60 Questions
Exam 11: Classes and Objects60 Questions
Exam 12: Web Applications60 Questions
Exam 13: Working With Access Databases and Linq60 Questions
Exam 14: Access Databases and SQL60 Questions
Select questions type
One record is added to the AccountsDataSet.Which of the following statements will save the record in the Accounts database?
(Multiple Choice)
4.7/5
(17)
The ____ clause is used to arrange the records in either ascending (the default)or descending order by one or more fields.
(Multiple Choice)
4.7/5
(39)
The tblStudent table contains nine fields,one of which is the StudentID field.A user can type in any StudentID to select a particular student.The user provides 124541 as the StudentID to select.Which of the following statements deletes the student record specified by the user?
(Multiple Choice)
4.8/5
(33)
The statement SELECT YearWon FROM tblMovies WHERE Title = 'Chicago' selects the Chicago field from the YearWon record.
(True/False)
4.8/5
(35)
If you want the records in a dataset to appear in a particular order when the application is started,you enter the Sort method in the form's ____.
(Multiple Choice)
5.0/5
(29)
For the changes made to a dataset to be permanent,you need to save the changes to the database associated with the dataset.
(True/False)
4.9/5
(35)
Case 1 - LuvUrPet
The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers.
ItemNum ItemDesc Color Price Quantity 2358 leather collar black 25.00 35 2693 leather collar brown 25.00 25 3547 striped collar red 15.00 75 3855 striped collar blue 15.00 42 3764 striped collar green 15.00 48 5782 solid collar pink 12.00 36 5785 solid collar red 12.00 10 5787 solid collar blue 12.00 15
-An application using the dataset allows the user to provide an ItemNum to select a record to delete from the dataset.Which function must also be used in the code for the Delete button on the form to work properly?
(Multiple Choice)
4.9/5
(33)
The tblMembers table contains six fields. The LastName, FirstName, and MemberType fields contain text. The MemberID, JoinDate, and Fee fields contain numbers. The MemberType field contains one of the following letters: F for Family membership, A for one Adult membership, Y for one Youth membership, and S for one Senior membership.
-Write a SQL SELECT statement that selects the MemberID,LastName,and FirstName fields for members having a last name that begins with the letter J.
(Essay)
4.8/5
(30)
The ContractsDataSet contains a table named tblContracts. The table contains four text fields named LastName, FirstName, Email, and Phone.
-Write the statement to find the record of a contract with the last name Green and assign the record to a row variable that you declare.Then write the statement to delete that record from the database.
(Essay)
4.9/5
(34)
The Query Builder places the WHERE clause's condition in parentheses because the parentheses are required.
(True/False)
4.8/5
(37)
Which of the following statements will delete the record associated with a DataRow variable named getRow?
(Multiple Choice)
4.8/5
(41)
Which of the following statements selects the Title and ProductionCo fields from records whose title begins with the word "The" followed by a space and zero or more characters,and then sorts the records in descending order by the ProductionCo field?
(Multiple Choice)
4.8/5
(27)
Which of the following SELECT statements will select the ProdNum field from the tblProducts table,and then sort the records in descending order by the Price field?
(Multiple Choice)
4.9/5
(35)
A Delete query uses the ____ statement to delete a record from a database.
(Multiple Choice)
4.8/5
(38)
The tblMembers table contains six fields. The LastName, FirstName, and MemberType fields contain text. The MemberID, JoinDate, and Fee fields contain numbers. The MemberType field contains one of the following letters: F for Family membership, A for one Adult membership, Y for one Youth membership, and S for one Senior membership.
-Write a SQL SELECT statement that selects all of the fields and records in the table.Sort the records in ascending order by the MemberType field.
(Essay)
4.9/5
(43)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)