Oracle 12c: SQL
3rd Edition
ISBN: 9781305251038
Author: Joan Casteel
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
Which of the following commands locks the HOMEWORK10 table in EXCLUSIVE mode?a. LOCK TABLE homework10 EXCLUSIVELY;b. LOCK TABLE homework10 IN EXCLUSIVE MODE;c. LOCK TABLE homework10 TO OTHER USERS;d. LOCK homework10 IN EXCLUSIVE MODE;e. Both b and d lock the table in EXCLUSIVE mode.
Which of the following statements places a shared lock on at least a portion of a table named HOMEWORK10?a. SELECT * FROM homework10 WHERE col2 IS NULL FOR UPDATE;b. INSERT INTO homework10 (col1, col2, col3) VALUES (‘A’, ‘B’, ‘C’);c. UPDATE homework10 SET col3 = NULL WHERE col1 = ‘A’;d. UPDATE homework10 SET col3 = LOWER (col3) WHERE col1 = ‘A’;e. all of the above
Which of the following statements retrieves data from the Friends database and stores it in the FriendsDataSet?a. Me.FriendsDataSet.Fill(Friends.accdb)b. Me.TblNamesBindingSource.Fill(Me.FriendsDataSet)c. Me.TblNamesBindingNavigator.Fill(Me.FriendsDataSet.tblNames)d. Me.TblNamesTableAdapter.Fill(Me.FriendsDataSet.tblNames)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Which of the following statements deletes all rows in the HOMEWORK10 table? a. DELETE FROM homework10; b. DELETE . FROM homework10; c. DELETE FROM homework10; d. DELETE FROM homework10 WHERE amid = ; e. Both c and d delete all rows in the HOMEWORK10 table.arrow_forwardWhich of the following is a correct statement? a. A commit is issued implicitly when a user exits SQL Developer or SQLPlus. b. A commit is issued implicitly when a DDL command is executed. c. A commit is issued automatically when a DML command is executed. d. All of the above are correct. e. Both a and b are correct. f. Both a and c are correct.arrow_forwardWhich of the following is a valid SQL statement? SELECT * WHERE amid = ‘J100’ FOR UPDATE; INSERT INTO homeworkl0 VALUES (SELECT * FROM acctmanager); DELETE amid FROM acctmanager; rollback; all of the abovearrow_forward
- Which of the following has no partial dependencies but can contain transitive dependencies? a. unnormalized data b. 1NF c. 2NF d. 3NFarrow_forwardWhich of the following statements represents a correctly structured transaction? a.) BEGIN;COMMIT;insert into album (artist_id, title, album_id) values (1, 'My Album', 348);insert into playlist (playlist_id, name) values (30, 'New Age Playlist'), (31, 'Oldies'), (32, 'Road Trip');UPDATE albumSET title = 'Out of Exile [Disc 1]'WHERE album_id = 11; b.) BEGINinsert into album (artist_id, title, album_id) values (1, 'My Album', 348);insert into playlist (playlist_id, name) values (30, 'New Age Playlist'), (31, 'Oldies'), (32, 'Road Trip');UPDATE albumSET title = 'Out of Exile [Disc 1]'WHERE album_id = 11;COMMIT; c.) BEGINinsert into album (artist_id, title, album_id) values (1, 'My Album', 348)insert into playlist (playlist_id, name) values (30, 'New Age Playlist'), (31, 'Oldies'), (32, 'Road Trip')UPDATE albumSET title = 'Out of Exile [Disc 1]'WHERE album_id = 11COMMIT d.) BEGIN;insert into album (artist_id, title, album_id) values (1, 'My Album', 348);insert…arrow_forwardWhich of the following releases a lock currently held by a user on the HOMEWORK10 table?a. A COMMIT command is issued.b. A DDL command is issued to end a transaction.c. The user exits the system.d. A ROLLBACK command is issued.e. all of the abovef. none of the abovearrow_forward
- Which of the following statements represents a correctly structured transaction? BEGINUPDATE trackset media_type_id = 1where album_id = 3DELETE FROM playlistWHERE playlist_id = 1INSERT INTO genre (genre_id, name)VALUES (30, 'Funk' ),(31,'Classical'),(32,'Pop Rock')COMMIT UPDATE trackset media_type_id = 1where album_id = 3;DELETE FROM playlistWHERE playlist_id = 1;INSERT INTO genre (genre_id, name)VALUES (30, 'Funk' ),(31,'Classical'),(32,'Pop Rock');COMMIT; BEGIN;UPDATE trackset media_type_id = 1where album_id = 3;DELETE FROM playlistWHERE playlist_id = 1;INSERT INTO genre (genre_id, name)VALUES (30, 'Funk' ),(31,'Classical'),(32,'Pop Rock');COMMIT; BEGIN;COMMIT;UPDATE trackset media_type_id = 1where album_id = 3;DELETE FROM playlistWHERE playlist_id = 1;INSERT INTO genre (genre_id, name)VALUES (30, 'Funk' ),(31,'Classical'),(32,'Pop Rock');arrow_forwardAssuming the HOMEWORK10 table has three columns (Col1, Col2, and Col3, in this order), which of the following commands stores a NULL value in Col3 of the HOMEWORK10 table?a. INSERT INTO homework10 VALUES (‘A’, ‘B’, ‘C’);b. INSERT INTO homework10 (col3, col1, col2) VALUES (NULL, ‘A’, ‘B’);c. INSERT INTO homework10 VALUES (NULL, ‘A’, ‘B’);d. UPDATE homework10 SET col1 = col3;arrow_forwardWrite a cron job that executes the command, sudo mysqldump --all-databases at 11:59 pm on Sunday every week of the month.arrow_forward
- Which of the following is a correct statement?a. A commit is issued implicitly when a user exits SQL Developer or SQL*Plus.b. A commit is issued implicitly when a DDL command is executed.c. A commit is issued automatically when a DML command is executed.d. All of the above are correct.e. Both a and b are correct.f. Both a and c are correctarrow_forwardWhich of the following LINQ statements arranges the records in ascending order by the LastName field, with records having the same last name arranged in descending order by the FirstName field?a. Dim records = From name In NamesDataSet.tblNames Order By name.LastName Ascending, name.FirstName Descending Select nameb. Dim records = From name In NamesDataSet.tblNames Order By name.LastName, name.FirstName Descending Select namec. Dim records = Select name From NamesDataSet.tblNames Order By name.FirstName Descending, name.LastNamed. both a and barrow_forwardIt doen't show output, fix the code -- Create the Clients table CREATE TABLE Clients ( ClientID VARCHAR2(10) PRIMARY KEY, ClientName VARCHAR2(255), ZipCode VARCHAR2(10), ClientCode VARCHAR2(1), Contact VARCHAR2(255), OrderDate DATE );-- Commit the changes to save the table structureCOMMIT; -- Populate the Clients table with data from Figure 2 INSERT INTO Clients (ClientID, ClientName, ZipCode, ClientCode, Contact, OrderDate) VALUES ('B5182', 'Basic Broadcasting', '60631', 'A', 'Sammy', TO_DATE('08/03/2019', 'MM/DD/YYYY')), ('C1825', 'Computer Capers', '60656', 'A', 'Sammy', TO_DATE('01/18/2020', 'MM/DD/YYYY')), ('D8125', 'David D. Davies', '60625', 'B', 'George', TO_DATE('02/02/2020', 'MM/DD/YYYY')), ('E5051', 'Edward\'s Enterprise', '60604', 'A', 'Paula', TO_DATE('02/28/2020', 'MM/DD/YYYY')), ('F5150', 'Frank\'s Fixtures', '60629', 'C', 'Paula', TO_DATE('01/07/2019', 'MM/DD/YYYY')), ('J4712', 'Jerry\'s Journals', '60634', 'F', 'Pete', TO_DATE('01/22/2020', 'MM/DD/YYYY')), ('M1758',…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you