My SQL
My SQL
My SQL
4. Terms of Relational
Answer 4
______ refers to the columns of the table Attribute
Answer 5
______ refers to the rows of the table Tuples
Answer 1
Data is represented in the form of a table - relational
Answer 2
Data is represented in the form of a tree - hierarchical
Answer 1
cardholderphoneno unique
Answer 3
cardholdername not null
Answer 4
creditcardno primary key
Answer 5
validitydate not null
Cascade
Set Null
All the options
Restrict
TRUE FALSE
4. Select the suitable option for retrieving all the employees who
have a manager?
Select one:
select empname, manager_id from employee where
manager_id is NOT NULL;
select empname, manager_id from employee where
manager_id NULL;
select empname, manager_id from employee where
manager_id is NULL;
select empname, manager_id from employee where
manager_id is NULL VALUE;
Only those columns that are specified in the SELECT list can
be used in the ORDER BY clause
NULL values are not considered at all by the sort operation
Numeric values are displayed from the maximum to the
minimum value if they have decimal positions
In a character sort, the values are case-sensitive
4. Select the suitable option for fetching the output of the following
query. select substr("Oracle World",1,6) from dual;
racle W
racle Wo
racle
Oracle
TRUE
FALSE
2. All columns in the SELECT list that are not in group functions
must be in the GROUP-BY clause. State True or False.
FALSE
TRUE
4. What will be the output for the below query: select ceil(5.3)
from dual;
None of the options
6
5
5.0
5. Group functions can be used in the where clause. State True or
False.
Select one:
TRUE
FALSE
SELECT *
FROM emp_dept_vu;
Select one:
2. In which two cases would you use the USING clause? (Choose
two)
Select one or more:
You want to create a nonequijoin.
The tables to be joined have columns of the same name
and different data types.
The tables to be joined have columns with the same name
and compatible data types.
The tables to be joined have multiple NULL columns.
3. The owner has all the privileges on the object. State true or
False.
True
False