Examine the description of the EMPLOYEES table:
Which two statements will insert a row into the EMPLOYEES table? (Choose two.)
Examine the description of the EMPLOYEES table:
Which two statements will insert a row into the EMPLOYEES table? (Choose two.)
To insert a row into the EMPLOYEES table, the insertion statement must correctly match the column names and their constraints as described in the table. Option A is incorrect because it does not provide a value for DEPARTMENT_ID, which is not listed as nullable. Option B is incorrect because it attempts to insert an extra value. Option D is incorrect due to the syntax error in mentioning 'hiresate' instead of 'hiredate'. Option F is incorrect because the LAST_NAME column has a NOT NULL constraint, and inserting a blank string (' ') violates that constraint. Therefore, the correct statements are: Option C, which correctly lists the columns and provides appropriate values, and Option E, which uses a SELECT statement that properly matches the number of values with the columns and retrieves SYSDATE correctly.
i am finding 3 that are correct. CEF
I think it’s CE ?
F is wrong because the column last_name has a not null constraint, in this case Oracle will not accept '' as value for the last_name column CE is the correct answer
in E missing "values", so i think correct answers C D
Thought the same, was wrong, here; try this: Create table toz ( id number primary key, name varchar2(255) ); insert into toz (select 1,'toz'from dual);
at least there is brackets surround select in your example but e there are no brackets at all and no values it sounds wrong, but i am not sure.
You don't need the brackets it works
gotta agree there
CEF are corret. I checked in data base.
C E are correct. F would be ok whith an space between ' '. If you copy and paste the exact alternative from here, it works, but I imagine that the exam doesn't have that space and that's why the're only two correct options.
CF is correct. in F, if have space between ' ' for last Name, it will be accepted. if there is no space, then not null constraint will apply.
A, C for me. E is wrong because SELECT 101 is not correct.
EF is correct for me as ' ' is not null...
CE definitely works tested
CD also works
CF Should be the correct answer
C, E worked. F gave me ora-01400
E works too
CE tested
if there is a space iside ' ' on F is working
Why A is wrong?
Maybe AC are correct?
when you specify the values keyword you must insert a value for every column in the table. If it permits nulls then just insert null
https://www.techonthenet.com/oracle/insert.php according to that link You can omit a column from the Oracle INSERT statement if the column allows NULL values. so answer A is correct
CE is the answer
"F" is a wrong because not null.
' ' is not a null, but its a bit confusing, since in some compilers ' ' is actually null, but appears to have a space between the 2 quotations when there actually isnt.