b. once created, a sequence is linked to a specific table.
c. once created, a sequence is automatically available to all users.
d. only the dba can control which sequence is used by a certain
statements.
2. examine the structure of the emp_dept_vu view:
column name
which sql statement will return the ename, length of the ename, and the
numeric position of the letter "a" in the ename column, for those
employees whose ename ends with a the letter "n"?
which statement shows the department id, minimum salary, and maximum
salary paid in that department, only if the minimum salary is less than
5000 and maximum salary is more than 15000?
5. you need to write a sql statement that returns employee name,
salary, department id, and maximum salary earned in the department of
the employee for all employees who earn less than the maximum salary in
their department.
customers tables.
evaluate this sql statement:
select cust_id, ord_total
where ord_total > any(select ord_total
from orders
where cust_id in (select cust_id
7. evaluate this sql statement:
select *
from
a. group functions on columns ignore null values.
b. group functions on columns returning dates include null values.
c. group functions on columns returning numbers include null values.
d. group functions on columns cannot be accurately used on columns
a. you cannot update a view with group functions.
b. when you update a view group functions are automatically computed.
c. when you update a view only the constraints on the underlying
a. none
b. delete, insert,select
c. alter, delete, insert, select
d. delete, insert, select, update
Leave a Comment