Which two statements are true about truncate and delete?
Which three statements are true about defining relations between tables in a relational database?
Examine these two queries and their output:
SELECT deptno, dname FROM dept;
SELECT ename, job, deptno FROM emp ORDER BY deptno;
Now examine this query:
SELECT ename, dname
FROM emp CROSS JOIN dept WHERE job = 'MANAGER'
AND dept.deptno IN (10, 20) ;
Which two statements are true about the ORDER BY clause?
Which three statements are true about views in an Oracle database?
Examine the description of the transactions table:
Which two SQL statements execute successfully?
Which two statements are true about an Oracle database?
Evaluate the following SQL statement
SQL>SELECT promo_id, prom _category FROM promotions
WHERE promo_category=’Internet’ ORDER BY promo_id
UNION
SELECT promo_id, promo_category FROM Pomotions
WHERE promo_category = ‘TV’
UNION
SELECT promoid, promocategory FROM promotions WHERE promo category=’Radio’
Which statement is true regarding the outcome of the above query?
Which two statements are true? (Choose two.)
Examine the description or the BOOKS_TRANSACTIONS table:
FOR customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.
Which query should be used?
You need to allow user ANDREW to:
1. Modify the TITLE and ADDRESS columns of your CUSTOMERS table.
2. GRANT tha permission to other users.
Which statement will do this?
Examine the description of the CUSTONERS table
CUSTON is the PRIMARY KEY.
You must derermine if any customers’derails have entered more than once using a different
costno,by listing duplicate name
Which two methode can you use to get the requlred resuit?
Which three statements are true about performing Data Manipulation Language (DML) operations on a view In an Oracle Database?
Which two are true about granting privilege on objects?
You execute these commands:
SQL> DEFINE hiredate = ’01-APR -2011’;
SQL> SELECT employee_id, first_name, salary FROM employees WHERE hire date > &hiredate AND manager_id >&mgr_id;
For which substitution variables will you be prompted?
Which two statements are true about Oracle synonyms?
Which three statements are true about views in an Oracle database?
Examine the description of the PRODUCTS table:
Which three queries use valid expressions?
Which two queries will result in an error?
The STORES table has a column START_ DATE of data type DATE, containing the date the row was inserted.
You only want to display details of rows where START_ DATE is within the last 25 months.
Which WHERE clause can be used?
Examine the description of the BOOKS table:
The table has 100 rows.
Examine this sequence of statements issued in a new session;
INSERT INTO BOOKS VALUES (‘ADV112’ , ‘Adventures of Tom Sawyer’, NULL, NULL);
SAVEPOINT a;
DELETE from books;
ROLLBACK TO SAVEPOINT a;
ROLLBACK;
Which two statements are true?
Examine this list of queries:
Which two statements are true?
Examine these statements and results:
SQL> SELECT COUNT(*) FROM emp
COUNT(*)
---------------------
14
sQL> CREATE GLOBAL TEMPORARY TABLE t emp As SELECT * FROM emp;
Table created
SQL> INSERT INTo temp SELECT * FROM emp;
14 rows created
SQL> COMMIT:
Commit complete*
SQL> INSERT INTo temp SELECT * EROM emp;
14. rows created
SQL> SELECT COUNT(*) FROM t emp
How many rows are retrieved by the last query?
You execute this command:
ALTER TABLE employees SET UNUSED (department_id);
Which two are true?
Which two statements are true about * TABLES views?
Which three statements are true about indexes and their administration in an Oracle database?
Which two statements are true about INTERVAL data types
Which three statements are true about sequences in a single instance Oracle database?
Which three statements are true about Data Manipulation Language (DML)?
In your session, the NLS._DAE_FORMAT is DD- MM- YYYY.There are 86400 seconds in a day.Examine
this result:
DATE
02-JAN-2020
Which statement returns this?
Which two statements are true about conditional INSERT ALL?
Which two are true about virtual columns?
Which three are true about scalar subquery expressions?
Which three statements are true about GLOBAL TEMPORARY TABLES?
Which two statements about INVISIBLE indexes are true?
Examine the description of the EMPLOYEES table:
Which statement will execute successfully, returning distinct employees with non-null first names?
Which three are true about privileges?
A session's NLS_DATE_FORMAT is set to DD Mon YYYY .
Which two queries return the value 1 Jan 2019?
Examine the description of the CUSTONERS table:
CUSTNO is the PRIMARY KEY.
You must determine if any customers' details have been entered more than once using a different CUSTNO, by listing all duplicate names.
Which two methods can you use to get the required result?
Which three statements are true about an ORDER BY clause?
Examine the BRICKS table:
You write this query:
SELECT
FROM bricks b1 CROSS JOIN bricks b2
WHERE b1. Weight < b2. Weight:
How many rows will the query return?
Examine this query:
SELECT employee_id,first_name,salary
FROM employees
WHERE hire_date>'&1';
Which two methods should you use to prevent prompting for a hire date value when this query is executed?
Which two are true about granting privilege on objects?
Which two statements are true about the DUAL table?
Examine this business rule:
Each student can work on multiple projects and each project can have multiple students.
You must design an Entity Relationship(ER) model for optimal data storage and allow for generating reports in this format:
Which two statements are true?
Which three statements are true about dropping and unused columns in an Oracle database?
Which is true about the & and && prefixes with substitution variables?
Which three are true about subqueries?
Evaluate these commands which execute successfully CREATE SEQUENCE ord_seq
INCREMENT BY 1
START WITH 1
MAXVALUE 100000
CYCLE
CACHE 5000;
Create table ord_items(
ord_no number(4) default ord_seq.nextval not null,
Item_no number(3),
Qty number(3),
Expiry_date date,
Constraint it_pk primary key(ord_no,item_no),
Constraint ord_fk foreign key (ord_no) references orders(ord_no));
Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence?
Which two are true about queries using set operators such as UNION?
BOOK_SEQ is an existing sequence in your schema.
Which two CREATE TABLE commands are valid?
Examine this query which executes successfully;
Select job,deptno from emp
Union all
Select job,deptno from jobs_history;
What will be the result?
You have the privileges to create any type of synonym.
Which stalement will create a synonym called EMP for the HCM.EMPLOYEE_RECORDS table that is accesible to all users?
Which two are true about transactions in the Oracle Database?
Which three items does a direction of a relationship contain?
.No user-defined locks are used in your database.
Which three are true about Transaction Control Language (TCL)?
Which three statements are true about performing DML operations on a view with no INSTEAD OF triggers defined?
Which three statements are true?
Which three statements are true about a self join?
What is true about non-equijoin statement performance?
Examine the description of the BOOKS_TRANSACTIONS table:
Examine this partial SQL statement:
SELECT * FROM books_transactions
Which two WHERE conditions give the same result?
Examine the description of the ORDERS table:
Which three statements execute successfully?
Examine this statement,which executes successfully:
In which order are the rows displayed?
Which statement falls to execute successfully?
Which three statements about roles are true?
Examine this partial statement:
SELECT ename, sal,comm FROM emp
Now examine this output:
WHICH ORDER BY clause will generate the displayed output?
You need to calculate the number of days from 1st January 2019 until today.
Dates are stored in the default format of DD-MON-RR.
Which two queries give the required output?
Examine the description of the CUSTOMERS table:
Which three statements will do an implicit conversion?
Examine the description of the PRODUCT_ DETAILS table:
Which two statements are true?
Which statement will return the last sequence number generated by the EMP_ SEQ sequence?
Which three actions can you perform on an existing table containing date?
Which two are true about global temporary tables?
Which three actions can you perform by using the ORACLE DATAPUMP access driver?
Examine the description of the EMPLOYEES table:
Which two queries return rows for employees whose manager works in a different department?
Examine this incomplete query:
SELECT DATA’2019-01-01’+
FROM DUAL;
Which three clauses can replace
Which two statements are true about the results of using the intersect operator in compound queries?
Choose two
Examine the description of the PRODUCT DETALS table:
Which three are true about privileges and roles?
Examine the description of the EMPLOYEES table:
Which query is valid?
Which two statements will do an implicit conversion?
Examine the data in the EMP table:
You execute this query:
SELECT deptno AS "Department", AVG(sal) AS AverageSalary, MAX(sal) AS "Max Salary"
FROM emp
WHERE sal >= 12000
GROUP BY "Department "
ORDER BY AverageSalary;
Why does an error occur?
Examine this description of the PRODUCTS table:
You successfully execute this command:
CREATE TALE new_prices(prod_id NUBER(2),price NUMBER(8,2));
Which two statements execute without errors?
Examine the description of the EMPLOYEES table:
Examine this query:
Which line produces an error?
Which two are true about multiple table INSERT statements?
Which three statements are true about Data Manipulation Language (DML)?
The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER. Which two queries execute successfully?
Examine the description of the EMPLOYEES table:
Which two statements will run successfully?
View the Exhibit and examine the structure of the ORDERS table.
The columns ORDER_MODE and ORDER TOTAL have the default values'direct “and respectively.
Which two INSERT statements are valid? (Choose two.)
Examine the description of the PRODUCTS table:
Which two statements execute without errors?
Which two statements are true about the WHERE and HAVING clauses in a SELECT statement?
Examine the description of the PROMOTIONS TABLE:
You want to display the unique is promotion costs in each promotion category.
Which two queries can be used?
Which two statements are true about a full outer join?
Examine this query:
SELECT TRUNC (ROUND(156.00,-2),-1) FROM DUAL; What is the result?
Which three are true about the MERGE statement?
Which two statements are true about Oracle databases and SQL?
The STORES table has a column START_DATE of data type DATE, containing the datethe row was inserted.
You only want to display details of rows where START_DATEis within the last 25 months.which WHERE clause can be used?