1z0 061 dumps for Oracle certification, Real Success Guaranteed with Updated 1z0 061 pdf. 100% PASS 1Z0-061 Oracle Database 12c SQL Fundamentals exam Today!
Free 1Z0-061 Demo Online For Microsoft Certifitcation:
NEW QUESTION 1
Which three statements are true regarding sub queries? (Choose three.)
Answer: ABC
NEW QUESTION 2
View the Exhibits and examine the structures of the products and sales tables.
Which two SQL statements would give the same output?
Answer: AC
Explanation: INTERSECT and JOIN works on comparable columns.
NEW QUESTION 3
Examine the structure of the STUDENTS table:
You need to create a report of the 10 students who achieved the highest ranking in the course INT SQL and who completed the course in the year 1999.
Which SQL statement accomplishes this task?
Answer: D
NEW QUESTION 4
What does the FORCE option for creating a view do?
Answer: D
Explanation: create a view regardless of whether or not the base tables exist.
Incorrect
A- the option is not valid
B- the option is not valid
C- the option is not valid
Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 11-3
NEW QUESTION 5
Which two statements are true regarding indexes? (Choose two.)
Answer: AD
NEW QUESTION 6
Evaluate the SQL statement DROP TABLE DEPT:
Which four statements are true of the SQL statement? (Choose four.)
Answer: ABDE
Explanation: You cannot roll back DROP TABLE statement. All pending transactions related on this table are committed. If the table is dropped, Oracle automatically drops any index, trigger and constraint associated with the table as well. All data in the table is deleted, and the table structure is also deleted.
Incorrect Answers
C:. All views based on the DEPT table become invalid, but they are not deleted.
F:. All data in the table is deleted, and the table structure is also deleted. Command TRUNCATE deletes all data in the table, but does not delete the structure of the table. G:. All synonyms based on the DEPT table are not deleted after dropping the table.
OCP Introduction to Oracle 9i: SQL Exam Guide, Jason Couchman, p. 225 Chapter 5: Creating Oracle Database Objects
NEW QUESTION 7
Examine the types and examples of relationships that follow:
1. One-to-one a) Teacher to students
2. One-to-many b) Employees to Manager
3. Many-to-one c) Person to SSN
4. Many-to-many d) Customers to products
Which option indicates the correctly matched relationships?
Answer: C
NEW QUESTION 8
What is true about sequences?
Answer: A
NEW QUESTION 9
Which four are types of functions available in SQL? (Choose 4)
Answer: BEGH
Explanation: SQL have character, numeric, date, conversion function.
Incorrect
A- SQL have character, numeric, date, conversion function.
C- SQL have character, numeric, date, conversion function.
D- SQL have character, numeric, date, conversion function.
F- QL have character, numeric, date, conversion function.
Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 3-3
NEW QUESTION 10
Which statement is true regarding the default behavior of the order by clause?
Answer: A
Explanation: Character Strings and Dates
Character strings and date values are enclosed with single quotation marks. Character values are case-sensitive and date values are format-sensitive. The default date display format is DD-MON-RR.
NEW QUESTION 11
The PART_CODE column in the SPARES table contains the following list of values:
Which statement is true regarding the outcome of the above query?
Answer: D
Explanation: Combining Wildcard Characters
The % and _ symbols can be used in any combination with literal characters. The example in the slide displays the names of all employees whose last names have the letter “o” as the second character.
ESCAPE Identifier
When you need to have an exact match for the actual % and _ characters, use the ESCAPE identifier. This option specifies what the escape character is. If you want to search for strings that contain SA_, you can use the following SQL statement: SELECT employee_id, last_name, job_id
FROM employees WHERE job_id LIKE '%SA_%' ESCAPE '';
NEW QUESTION 12
The STUDENT_GRADES table has these columns:
STUDENT_ID NUMBER(12) SEMESTER_END DATE
GPA NUMBER(4, 3)
The registrar requested a report listing the students' grade point averages (GPA) sorted from highest grade point average to lowest.
Which statement produces a report that displays the student ID and GPA in the sorted order requested by the registrar?
Answer: F
Explanation: Sorted by highest to lowest is DESCENDING order
Incorrect
A- result in ascending order
B- wrong syntax with SORT keyword
C- wrong syntax with SORT keyword
D- default value for ORDER by is in ascending order
E- wrong syntax with SORT keyword
Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 2-22
NEW QUESTION 13
Evaluate the following SQL statements: Exhibit:
Which is the correct output of the above query?
Answer: C
NEW QUESTION 14
Examine the structure of the EMPLOYEES table:
You want to generate a report that contains the department IDs and last names of employees ordered by hire date in their respective departments. Employees from one department must appear in a single row.
Which query will provide the required output?
Answer: C
NEW QUESTION 15
Which two statements are true regarding the DELETE and TRUNCATE commands? (Choose two.)
Answer: AE
Explanation: Transactions, consisting of INSERT, UPDATE, and DELETE (or even MERGE) commands can be made permanent (with a COMMIT) or reversed (with a ROLLBACK). A TRUNCATE command, like any other DDL command, is immediately permanent: it can never be reversed.
The Transaction Control Statements
A transaction begins implicitly with the first DML statement. There is no command to explicitly start a transaction. The transaction continues through all subsequent DML statements issued by the session. These statements can be against any number of tables: a transaction is not restricted to one table. It terminates (barring any of the events listed in the previous section) when the session issues a COMMIT or ROLLBACK command. The SAVEPOINT command can be used to set markers that will stage the action of a ROLLBACK, but the same transaction remains in progress irrespective of the use of SAVEPOINT
Explicit Transaction Control Statements
You can control the logic of transactions by using the COMMIT, SAVEPOINT, and ROLLBACK statements.
Note: You cannot COMMIT to a SAVEPOINT. SAVEPOINT is not ANSI-standard SQL.
NEW QUESTION 16
Examine the data in the CUST_NAME column of the customers table.
You need to display customers' second names where the second name starts with "Mc" or "MC."
Which query gives the required output?
Answer: B
NEW QUESTION 17
Which two statements are true regarding views? (Choose two.)
Answer: CD
Explanation: Rules for Performing DML Operations on a View
You cannot add data through a view if the view includes: Group functions
A GROUP BY clause The DISTINCT keyword
The pseudocolumn ROWNUM keyword Columns defined by expressions
NOT NULL columns in the base tables that are not selected by the view
NEW QUESTION 18
The COMMISSION column shows the monthly commission earned by the employee. Exhibit
Which two tasks would require sub queries or joins in order to be performed in a single step? (Choose two.)
Answer: AC
NEW QUESTION 19
Examine this statement:
SELECT student_id, gpa FROM student_grades WHERE gpa > &&value;
You run the statement once, and when prompted you enter a value of 2.0. A report is produced.
What happens when you run the statement a second time?
Answer: C
Explanation: Use the double-ampersand if you want to reuse the variable value without prompting the user each time.
Incorrect
A- is not an error
B- && will not prompt user for second time
D- && will not ask the user for new value
Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 7-13
P.S. Easily pass 1Z0-061 Exam with 339 Q&As 2passeasy Dumps & pdf Version, Welcome to Download the Newest 2passeasy 1Z0-061 Dumps: https://www.2passeasy.com/dumps/1Z0-061/ (339 New Questions)