1Z0-061 Exam Questions
318 real 1Z0-061 exam questions with expert-verified answers and explanations. Page 5 of 7.
- Question #201
Which two statements are true regarding the ORDER BY clause? (Choose two.)
- Question #202Displaying Data from Multiple Tables using Joins
Which two statements are true regarding the USING clause in table joins?(Choose two.)
USING clauseequijoinNATURAL joincolumn matching - Question #204Controlling User Access
What is true about the WITH GRANT OPTION clause?
WITH GRANT OPTIONobject privilegesprivilege delegationGRANT - Question #205Introduction to SQL
Which substitution variable would you use if you want to reuse the variable without prompting the user each time?
substitution variables&&SQL*Plususer prompting - Question #206Using DDL Statements to Create and Manage Tables
The EMPLOYEES table has these columns: LAST NAME. VARCHAR2(35) SALARY. NUMBER(8, 2) HIRE_DATE. DATE Management wants to add a default value to the SALARY column. You plan to alter...
ALTER TABLEDEFAULT valueMODIFY columnexisting rows - Question #207Controlling User Access
The DBA issues this SQL command: CREATE USER Scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?
CREATE USERinitial privilegesuser creationsecurity - Question #208Manipulating Data
Which two statements complete a transaction? (Choose two)
transaction completionDDL auto-commitGRANTROLLBACK TO SAVEPOINT - Question #209Retrieving Data using the SQL SELECT Statement
You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: CUST_ID. N...
SELECTcolumn projectionbasic querytable columns - Question #210Introduction to SQL
Which statement describes the ROWID data type?
ROWIDdata typesrow addresshexadecimal - Question #211Using DDL Statements to Create and Manage Tables
Evaluate the SQL statement DROP TABLE DEPT: Which four statements are true of the SQL statement? (Choose four)
DROP TABLEDDL side effectsindexes droppedauto-commit - Question #212Controlling User Access
You are granted the CREATE VIEW privilege. What does this allow you to do?
CREATE VIEW privilegeschema scopesystem privilegesuser access - Question #213Using DDL Statements to Create and Manage Tables
Which two statements about creating constraints are true? (Choose two)
constraintscolumn-level constraintstable-level constraintsALTER TABLE - Question #214Reporting Aggregated Data using the Group Functions
Which two statements are true about WHERE and HAVING clauses? (Choose two)
WHERE clauseHAVING clauserow filteringgroup filtering - Question #215Manipulating Data
EMPLOYEES and DEPARTMENTS data: EMPLOYEES DEPARTMENTS On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID managers and refers to the EMPLOYEE_ID. On the DEPART...
UPDATE statementcorrelated subqueryDMLNULL handling - Question #216Retrieving Data using the SQL SELECT Statement
Which SQL statement accepts user input for the columns to be displayed, the table name, and WHERE condition?
substitution variablesampersanduser inputSELECT statement - Question #217Using Single-Row Functions to Customize Output
Evaluate the SQL statement: SELECT ROUND(45.953, -1), TRUNC(45.936, 2) FROM dual; Which values are displayed?
ROUND functionTRUNC functionnumeric functionsnegative precision - Question #218
The CUSTOMERS table has these columns: The CUSTOMER_ID column is the primary key for the table. You need to determine how dispersed your customer base is. Which expression finds th...
- Question #219Manipulating Data
Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: Which DELETE statement is valid?
DELETE statementDML syntaxtable data removal - Question #220
Examine the structure of the EMP_DEPT_VU view: Which SQL statement produces an error?
- Question #221Manipulating Data
You own a table called EMPLOYEES with this table structure: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE What happens when you execu...
DELETE statementtable structureDMLdata removal - Question #222Manipulating Data
Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEE...
MERGE statementDML syntaxupserttable merge - Question #223Using Single-Row Functions to Customize Output
The EMPLOYEES table contains these columns: EMPLOYEE_ID NUMBER(4) ENAME VARCHAR2 (25) JOB_ID VARCHAR2(10) Which SQL statement will return the ENAME, length of the ENAME, and the nu...
INSTR functionLENGTH functioncharacter functionspattern matching - Question #224Using DDL Statements to Create and Manage Tables
Which four are valid Oracle constraint types? (Choose four.)
constraintsPRIMARY KEYUNIQUENOT NULLCHECK - Question #225
Which SQL statement would you use to remove a view called EMP_DEPT_VU from your schema?
- Question #227
Examine the description of the EMPLOYEES table: EMP_ID NUMBER(4) NOT NULL LAST_NAME VARCHAR2(30) NOT NULL FIRST_NAME VARCHAR2(30) DEPT_ID NUMBER(2) Which statement produces the num...
- Question #228Using Subqueries to Solve Queries
Top N analysis requires _____ and _____. (Choose two.)
Top-N analysisinline viewORDER BYROWNUM - Question #229
Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?
- Question #230Retrieving Data using the SQL SELECT Statement
Evaluate this SQL statement: SELECT ename, sal, 12*sal+100 FROM emp; The SAL column stores the monthly salary of the employee. Which change must be made to the above syntax to calc...
arithmetic expressionsoperator precedenceSELECT statementsalary calculation - Question #231Controlling User Access
You are the DBA for an academic database. You need to create a role that allows a group of users to modify existing rows in the STUDENT_GRADES table. Which set of statements accomp...
CREATE ROLEGRANT privilegerole managementUPDATE privilege - Question #232Using DDL Statements to Create and Manage Tables
You need to modify the STUDENTS table to add a primary key on the STUDENT_ID column. The table is currently empty. Which statement accomplishes this task?
ALTER TABLEADD CONSTRAINTPRIMARY KEYDDL syntax - Question #233Restricting and Sorting Data
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 (GP...
ORDER BYDESCsortingSELECT statement - Question #234Using DDL Statements to Create and Manage Tables
Which describes the default behavior when you create a table?
table creationschema ownershipDDLdefault schema - Question #235Using Single-Row Functions to Customize Output
Which four are attributes of single row functions? (Choose four.)
single-row functionsfunction attributesdata manipulationexpressions - Question #236Using DDL Statements to Create and Manage Tables
You need to create a table named ORDERS that contain four columns: 1. AN ORDER_ID column of number data type 2. A CUSTOMER_ID column of number data type 3. AN ORDER_STATUS column t...
CREATE TABLEDEFAULT valueSYSDATEDDL syntax - Question #237Manipulating Data
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements insert a row into the table? (Cho...
INSERT statementDML syntaxNULL valuescolumn list - Question #238Controlling User Access
The user Sue issues this SQL statement: GRANT SELECT ON sue.EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement: GRANT SELECT ON sue.EMP TO reena WITH GRANT OP...
GRANTREVOKEWITH GRANT OPTIONprivilege cascade - Question #239Restricting and Sorting Data
The EMPLOYEES table contains these columns: EMPLOYEE_ID NUMBER(4) LAST_NAME VARCHAR2 (25) JOB_ID VARCHAR2(10) You want to search for strings that contain 'SA_' in the JOB_ID column...
LIKE operatorescape characterwildcardpattern matching - Question #240Retrieving Data using the SQL SELECT Statement
The CUSTOMERS table has these columns: CUSTOMER_ID NUMBER(4) NOT NULL CUSTOMER_NAME VARCHAR2(100) NOT NULL CUSTOMER_ADDRESS VARCHAR2(150) CUSTOMER_PHONE VARCHAR2(20) You need to pr...
string concatenationliteralsSELECT statementcolumn aliases - Question #241
What is true about sequences?
- Question #243Using DDL Statements to Create and Manage Tables
Examine the SQL statement that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL, STATUS VARCHAR2(10) CHECK (status IN ('CR...
automatic indexesPRIMARY KEYUNIQUE constraintDDL - Question #244Reporting Aggregated Data using the Group Functions
What is true of using group functions on columns that contain NULL values?
group functionsNULL valuesaggregate functions - Question #245Reporting Aggregated Data using the Group Functions
The STUDENT_GRADES table has these columns: STUDENT_ID NUMBER(12) SEMESTER_END DATE GPA NUMBER(4, 3) Which statement finds the highest grade point average (GPA) per semester?
MAX functionGROUP BYWHERE clauseaggregate functions - Question #246Using Subqueries to Solve Queries
In which four clauses can a sub query be used? (Choose four.)
subquery placementINSERTFROM clauseWHERE clause - Question #247Retrieving Data using the SQL SELECT Statement
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...
double ampersand substitutionbind variablesSQL*Plusvariable reuse - Question #248Using Single-Row Functions to Customize Output
Which SQL statement returns a numeric value?
date arithmeticnumeric returnSYSDATEdate functions - Question #249Creating Other Schema Objects
What are two reasons to create synonyms? (Choose two.)
synonymsschema objectsaliasesobject naming - Question #250
What is true about updates through a view?
- Question #251Using Subqueries to Solve Queries
You need to write a SQL statement that returns employee name, salary, department ID, and maximum salary earned in the department of the employee for all employees who earn less tha...
inline viewcorrelated subqueryMAX salaryjoins - Question #252Restricting and Sorting Data
The CUSTOMERS table has these columns: A promotional sale is being advertised to the customers in France. Which WHERE clause identifies customers that are located in France?
LOWER functionWHERE clausestring comparisonsingle quotes - Question #253Introduction to SQL
Which are iSQL*Plus commands? (Choose all that apply.)
SQL*Plus commandsDESCRIBEDML vs iSQL*Plusenvironment commands