User USER1 wants to retrieve records from a table named EMPLOYEE that satisfy at least one of the following criteria:
-The employee's hire date (HIREDATE) is before 1999 and the employee's salary (SALARY) is less than $40,000.00 a year. -The employee has attended university Which SQL statement will accomplish this?
A. SELECT * FROM employee WHERE (hiredate < '1999-01-01' AND salary < 40000) OR (education = 'University')
B. SELECT * FROM employee WHERE (hiredate < '1999-01-01') OR (salary < 40000) OR (education = 'University')
C. SELECT * FROM employee WHERE (hiredate < '1999-01-01' OR (salary < 40000 AND (education = 'University')
D. SELECT * FROM employee WHERE (hiredate < '1999-01-01' AND salary < 40000 AND (education = 'University')
Which SQL statement will retrieve the employee number (EMPNO), hire date (HIREDATE), and salary (SALARY) for each employee from a table named EMPLOYEE who was hired before 1998 and earns a salary of less than $35,000.00 per year?
A. SELECT empno, hiredate, salary FROM employee FOR hiredate < '1998-01-01' AND salary < 35000
B. SELECT empno, hiredate, salary FROM employee WHERE hiredate < '1998-01-01' AND salary < 35000
C. SELECT empno, hiredate, salary FROM employee WHERE hiredate < '1998-01-01' OR salary < 35000
D. SELECT empno, hiredate, salary FROM employee FOR hiredate < '1998-01-01' OR salary < 35000
If a table named MY_TAB contains 100 rows and the following statement is executed:
What will happen?
A. The last 5 rows in the table will be deleted.
B. The first 5 rows in the table will be deleted.
C. The statement will fail because a subquery cannot be used with a DELETE statement.
D. The statement will fail because a table name was not specified with the DELETE statement.
Given an EMPLOYEES table and a SALES table, a user wants to produce a list of all employees and their associated revenue, even if no revenue exists. Which SQL statement will produce the desired list?
A. SELECT employees.name, sales.revenue FROM employees INNER JOIN sales ON employees.id = sales.emp_id
B. SELECT employees.name, sales.revenue FROM employees INNER JOIN sales ON sales.emp_id = employees.id
C. SELECT employees.name, sales.revenue FROM sales LEFT OUTER JOIN employees ON employees.id = sales.emp_id
D. SELECT employees.name, sales.revenue FROM sales RIGHT OUTER JOIN employees ON employees.id = sales.emp_id
Which two operations are allowed in the body of an SQL scalar user-defined function? (Choose two.)
A. CALL statements.
B. External file access.
C. Use of a scratch pad.
D. COMMIT statements.
E. SQL control statements.
Which command will delete all rows from a table without generating log records?
A. TRIM
B. DROP
C. DELETE
D. TRUNCATE
What isolation level prevents dirty reads, nonrepeatable reads, and phantoms?
A. Read stability (RS)
B. Cursor stability (CS)
C. Repeatable read (RR)
D. Uncommitted read (UR)
Which operation normally does NOT require an exclusive lock?
A. BIND
B. DROP
C. GRANT
D. SELECT
When a COMMIT statement is executed, what happens?
A. All locks held on the database are automatically released.
B. Data stored in global temporary tables is automatically deleted.
C. Open cursors defined WITH HOLD are closed, but their data is retained.
D. The current transaction is terminated and a new transaction boundary is started.
Which command is used to back out a subset of database changes that have been made within a unit of work?
A. COMMIT
B. ROLLBACK
C. COMMIT TO SAVEPOINT
D. ROLLBACK TO SAVEPOINT
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2090-610 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.