Sqltest - 1
Sqltest - 1
ename VARCHAR2(30),
salary NUMBER(7,2));
The above table has ten records. Now it is required to execute the below DML statement.
What is the result ?
3) Tables emp & dept have to be joined, so that we can get all records of emp table. Which join operation
is suitable? Assume dept as the right table.
8) SELECT ename FROM emp WHERE empno between 2000 AND 2010;
How many records will be retrieved from the database
a) 2010
b) 2000
c) 10
d) 11
10) Can DML operations be performed on our table through a complex view.
a) YES
b) NO
c) Easy question
d) Not sure
13) Can we use ‘IS NULL’ to compare with the NULL values?
a) YES
b) NO
c) Invalid question
d) Compile error
16) Inline view is a schema object like table (Choose multiple answers)
a) YES
b) NO
c) Can be dropped
d) Can not be dropped
20) SCN_TO_TIMESTAMP can be used to find out the latest timing on which a change is made to a particular
table.
a) YES
b) NO
c) Don’t know
d) None of the above
23) For primary & foreign key relationship, the data type & size of the columns should both be same
a) Not applicable
b) TRUE
c) Invalid rule
d) FALSE