PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which of the following types of joins is used in the statement?

Symonds works as a Database Administrator for Blue Well Inc. The company uses an
Oracledatabase. The database contains a table named Employees. Following is the structure of
the table:
<code>
EmployeeID NUMBER (5) PRIMARY KEY EmployeeName VARCHAR2 (35) NOT NULL Salary
NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2)
DepartmentID NUMBER (5)
Symonds queries the Employees table with the following statement:
SELECT e.EmployeeName, m.Salary
FROM Employees e, Employeesm
WHERE e.EmployeeID = m.EmployeeID;
</code>

Which of the following types of joins is used in the statement?

Which of the following SQL statements will she use to accomplish this?

Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle
database. The database contains a table named Employees. Following is the structure of the table:
<code>
EmpID NUMBER (5) PRIMARY KEY EmpName VARCHAR2 (35) NOT NULLSalary NUMBER (9,
2) NOT NULL Commission NUMBER (4, 2) ManagerNameVARCHAR2 (25) ManagerID NUMBER (5)
</code>
Celina wants to display the names of employees and their managers, using a self join.
Which of the following SQL statements will she use to accomplish this? Each correct answer
represents a complete solution. Choose two.


Page 83 of 101« First...102030...8182838485...90100...Last »