|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#163. The PLAYER table contains these columns: ID NUMBER(9)
NAME VARCHAR(2)
MANAGER_ID NUMBER(9) In this instance, managers are players and you need to display a list of players. Evaluate these two SQL statements: SELECT p.name, m.name FROMplayer p, player m WHEREm.id = p.manager_id; SELECT p.name, m.name FROMplayer p, player m WHEREm manager_id = p.id;
How will the results differ?
Show comments for this question (0)
Add comments
Link to this question
|
|
#165. Examine the table structures: EMP Table
Name Null Type
EMPNO NOT NULL NUMBER(4)
NAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SALARY NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NOT NULL NUMBER(2) TAX Table Name Null Type
TAXGRADE NUMBER
LOWSAL NUMBER
HIGHSAL NUMBER You want to create a report that displays the employee details along with the tax category or each employee. The tax category is determined by comparing the salary of the employee from the EMP table to the lower and upper salary values in the TAX table. Which SELECT statement produces the required results?
Show comments for this question (0)
Add comments
Link to this question
|
|
#169. You need to create a report to display the ship date and order totals of your ORDER table. If the order has not been shipped, your report must display ‘Not Shipped’. If the total is not available, your report must display ‘Not Available’. In the ORDER table, the SHIPDATE column has a datatype of DATE. The TOTAL column has a datatype of NUMBER. Which statement do you use to create this report?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.111
|
Server date 11:05 08-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|