Examine the description of the EMPLOYEES table:
Which two queries will result in an error? (Choose two.)
A.
B.
C.
D.
E.
F.
Examine the description of the EMPLOYEES table:
Which two queries will result in an error? (Choose two.)
A.
B.
C.
D.
E.
F.
Correct answer: C and E
what about B. select first_name, last name from employees; - Will result in ORA-00904 invalid Identifier
Cannot use aliases in WHERE clause: ORA-00904: "ANNUAL_SALARY": invalid identifier
AB -> typos CE -> fails
A could be using last_name as an alias too
BCE fail. Tested all.
a, b is typo error hence answer is CE because we cant use column aliase in the where clause Answer CE
A could be using last_name as an alias of first_name
a,b,c,e will fail. Pick 2 :)
A doesn't fail
A -- no comma separator between column names B- wrong column name last name it should be Last_Name
C and E because of the alias used in the where clause
CE is correct