单选题You are granted the CREATE VIEW privilege. What does this allow you to do? ()A Create a table view.B Create a view in any schema.C Create a view in your schema.D Create a sequence view in any schema.E Create a view that is accessible by everyone.F Crea

题目
单选题
You are granted the CREATE VIEW privilege. What does this allow you to do? ()
A

Create a table view.

B

Create a view in any schema.

C

Create a view in your schema.

D

Create a sequence view in any schema.

E

Create a view that is accessible by everyone.

F

Create a view only of it is based on tables that you created.


相似考题
更多“You are granted the CREATE VIEW privilege. What does this al”相关问题
  • 第1题:

    多选题
    Which three are DATETIME data types that can be used when specifying column definitions? ()
    A

    TIMESTAMP

    B

    INTERVAL MONTH TO DAY

    C

    INTERVAL DAY TO SECOND

    D

    INTERVAL YEAR TO MONTH

    E

    TIMESTAMP WITH DATABASE TIMEZONE


    正确答案: B,D
    解析: 暂无解析

  • 第2题:

    单选题
    You need to perform these tasks: 1. Create and assign a MANAGER role to Blake and Clark 2. Grant CREATE TABLE and CREATE VIEW privileges to Blake and Clark Which set of SQL statements achieves the desired results?()
    A

    CREATE ROLE manager; GRANT create table, create view TO manager; GRANT manager TO BLACK, CLARK;

    B

    CREATE ROLE manager; GRANT create table, create voew TO manager; GRANT manager ROLE TO BLACK, CLARK;

    C

    GRANT manager ROLE TO BLACK, CLARK; GRANT create table, create voew TO BLACK CLARK; ***MISSING***


    正确答案: B
    解析: 暂无解析

  • 第3题:

    单选题
    Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEES EMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2(60) Which UPDATE statement is valid?()
    A

    UPDATEnew_employeesSETname=(SELECTlast_nameFirst_nameFROMemployeesWHEREemployee_id=180)WHEREemployee_id=180;

    B

    UPDATEnew_employeesSETname=(SELECTlast_nameFirst_nameFROMemployees)WHEREemployee_id=180;

    C

    UPDATEnew_employeesSETname=(SELECTlast_nameFirst_nameFROMemployeesWHEREemployee_id=180)   WHEREemployee_id=(SELECTemployee_idFROMnew_employees);

    D

    UPDATEnew_employeesSETname=(SELECTlast_nameFirst_nameFROMemployeesWHEREemployee_id=(SELECTemployee_idFROMnew_employees)   WHEREemployee_id=180;


    正确答案: A
    解析: 暂无解析

  • 第4题:

    多选题
    Which two are character manipulation functions?()
    A

    TRIM

    B

    REPLACE

    C

    TRUNC

    D

    TO_DATE

    E

    MOD

    F

    CASE


    正确答案: F,C
    解析: 暂无解析

  • 第5题:

    单选题
    Evaluate this SQL statement: SELECT e.employee_id, (.15* e.salary) + (.5 * e.commission_pct) + (s.sales_amount * (.35 * e.bonus)) AS CALC_VALUE FROM employees e, sales s WHERE e.employee_id = s.emp_id; What will happen if you remove all the parentheses from the calculation?()
    A

    The value displayed in the CALC_VALUE column will be lower.

    B

    The value displayed in the CALC_VALUE column will be higher.

    C

    There will be no difference in the value displayed in the CALC_VALUE column.

    D

    An error will be reported.


    正确答案: C
    解析: 暂无解析

  • 第6题:

    单选题
    The EMPLOYEES table has these columns: LAST_NAME VARCHAR2(35) SALARY NUMBER(8,2) HIRE_DATE DATE Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement: ALTER TABLE EMPLOYEES MODIFY (SALARY DEFAULT 5000); Which is true about your ALTER statement?()
    A

    Column definitions cannot be altered to add DEFAULT values.

    B

    A change to the DEFAULT value affects only subsequent insertions to the table.

    C

    Column definitions cannot be altered to add DEFAULT values for columns with a NUMBER data type.

    D

    All the rows that have a NULL value for the SALARY column will be updated with the value 5000.


    正确答案: D
    解析: 暂无解析

  • 第7题:

    单选题
    The CUSTOMERS table has these columns: CUSTOMER_ID NUMBER (4) NOT NULL CUSTOMER_NAME VARCHAR2 (100) NOT NULL STREET_ADDRESS VARCHAR2 (150) CITY_ADDRESS VARHCAR2 (50) STATE_ADDRESS VARCHAR2 (50) PROVINCE_ADDRESS VARCHAR2 (50) COUNTRY_ADDRESS VARCHAR2 (50) POSTAL_CODE VARCHAR2 (12) CUSTOMER_PHONE VARCHAR2 (20) The CUSTOMER_ID column is the primary key for the table. You need to determine how dispersed your customer base is. Which expression finds the number of different countries represented in the CUSTOMERS table?()
    A

    COUNT(UPPER(country_address))

    B

    COUNT(DIFF(UPPER(country_address)))

    C

    COUNT(UNIQUE(UPPER(country_address)))

    D

    COUNT DISTINTC UPPER(country_address)

    E

    COUNT(DISTINTC (UPPER(country_address)))


    正确答案: E
    解析: 暂无解析

  • 第8题:

    单选题
    Click the Exhibit button and examine the data from the ORDERS and CUSTOMERS tables. Which SQL statement retrieves the order ID, customer ID, and order total for the orders that are placed on the same day that Martin placed his orders?()
    A

    SELECT ord_id, cust_id, ord_total FROM orders, customers WHERE cust_name='Martin' AND ord_date IN ('18-JUL-2000','21-JUL-2000');

    B

    SELECT ord_id, cust_id, ord_total FROM orders WHERE ord_date IN (SELECT ord_date FROM orders WHERE cust_id = (SELECT cust_id FROM customers WHERE cust_name = 'Martin'));

    C

    SELECT ord_id, cust_id, ord_total FROM orders WHERE ord_date IN (SELECT ord_date FROM orders, customers WHERE cust_name = 'Martin');

    D

    SELECT ord_id, cust_id, ord_total FROM orders WHERE cust_id IN (SELECT cust_id FROM customers WHERE cust_name = 'Martin');


    正确答案: C
    解析: 暂无解析

  • 第9题:

    单选题
    Evaluate the SQL statement:SELECT ROUND(TRUNC(MOD(1600,10),-1),2)FROM dual;What will be displayed?()
    A

    0

    B

    1

    C

    0.00

    D

    an error statement


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    Which operator can be used with a multiple-row subquery? ()
    A

    =

    B

    LIKE

    C

    BETWEEN

    D

    NOT IN

    E

    IS

    F

    <>


    正确答案: E
    解析: 暂无解析

  • 第11题:

    单选题
    Examine the structure of the EMPLOYEES and NEW_EMPLOYEES tables: EMPLOYEES EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE NEW_EMPLOYEES EMPLOYEE_ID NUMBER Primary Key NAME VARCHAR2 (60) Which DELETE statement is valid?()
    A

    DELETE FROM employees WHERE employee_id = (SELECT employee_id FROM employees);

    B

    DELETE * FROM employees WHERE employee_id = (SELECT employee_id FROM new_ employees);

    C

    DELETE FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE name = 'carrey');

    D

    DELETE * FROM employees WHERE employee_id IN (SELECT employee_id FROM new_employees WHERE name = 'carrey');


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    Which SELECT statement should you use to extract the year from the system date and display it in the format "1998"? ()
    A

    SELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;

    B

    SELECT TO_DATE(SYSDATE,'yyyy') FROM dual;

    C

    SELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;

    D

    SELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;

    E

    SELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;


    正确答案: B
    解析: 暂无解析

  • 第13题:

    单选题
    The EMPLOYEES table contains these columns: EMPLOYEE_ID NUMBER(4) LAST_NAME VARCHAR2 (25) JOB_ID VARCHAR2(10) You want to search for strings that contain 'SA_' in the JOB_ID column. Which SQL statement do you use?()
    A

    SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA/_%' ESCAPE '/';

    B

    SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA_';

    C

    SELECT employee_id, last_name, job_id FROM employees WHERE job_id LIKE '%SA_' ESCAPE /;

    D

    SELECT employee_id, last_name, job_id FROM employees WHERE job_id = '%SA_';


    正确答案: C
    解析: 暂无解析

  • 第14题:

    单选题
    Examine the structure of the EMP_DEPT_VU view: Column Name Type Remarks EMPLOYEE_ID NUMBER From the EMPLOYEES table EMP_NAME VARCHAR2(30) From the EMPLOYEES table JOB_ID VARCHAR2(20) From the EMPLOYEES table SALARY NUMBER From the EMPLOYEES table DEPARTMENT_ID NUMBER From the DEPARTMENTS table DEPT_NAME VARCHAR2(30) From the DEPARTMENTS table Which SQL statement produces an error?()
    A

    SELECT * FROM emp_dept_vu;

    B

    SELECT department_id, SUM(salary) FROM emp_dept_vu GROUP BY department _ id;

    C

    SELECT department_id, job_id, AVG(salary) FROM emp_dept_vu GROUP BY department _ id, job_id;

    D

    SELECT job_id, SUM(salary) FROM emp_dept_vu WHERE department_id IN (10,20) GROUP BY job_id HAVING SUM (salary) > 20000

    E

    None of the statements produce an error; all are valid.


    正确答案: C
    解析: 暂无解析

  • 第15题:

    多选题
    Which three are true regarding the use of outer joins?()
    A

    You cannot use IN operator in a condition that involves an outerjoin.

    B

    You use (+) on both sides of the WHERE condition to perform an outerjoin.

    C

    You use (*) on both sides of the WHERE condition to perform an outerjoin.

    D

    You use an outerjoin to see only the rows that do not meet the join condition.

    E

    In the WHERE condition, you use (+) following the name of the column in the table without matching rows, to perform an outerjoin.

    F

    You cannot link a condition that is involved in an outerjoin to another condition by using the OR operator.


    正确答案: A,F
    解析: 暂无解析

  • 第16题:

    多选题
    Which two are attributes of iSQL*Plus? ()
    A

    /SQL*Plus commands cannot be abbreviated.

    B

    /SQL*Plus commands are accessed from a browser.

    C

    /SQL*Plus commands are used to manipulate data in tables.

    D

    /SQL*Plus commands manipulate table definitions in the database.

    E

    /SQL*Plus is the Oracle proprietary interface for executing SQL statements.


    正确答案: D,B
    解析: 暂无解析

  • 第17题:

    单选题
    You are the DBA for an academic database. You need to create a role that allows a group of users to modify existing rows in the STUDENT_GRADES table.Which set of statements accomplishes this?()
    A

    CREATE ROLL registrar; GRANT MODIFY ON student_grant TO registrar; GRANT registrar to user 1, user2, user3

    B

    CREATE NEW ROLE registrar; GRANT ALL ON student_grant TO registrar; GRANT registrar to user 1, user2, user3

    C

    CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT ROLE to user1, user2, user3

    D

    CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT registrar to user 1, user2, user3;

    E

    CREATE registrar; GRANT CHANGE ON student_grant TO registrar; GRANT registrar;


    正确答案: D
    解析: 暂无解析

  • 第18题:

    多选题
    Which two are true about aggregate functions? ()
    A

    You can use aggregate functions in any clause of a SELECT statement.

    B

    You can use aggregate functions only in the column list of the SELECT clause and in the WHERE clause of a SELECT statement.

    C

    You can mix single row columns with aggregate functions in the column list of a SELECT statement by grouping on the single row columns.

    D

    You can pass column names, expressions, constants, or functions as parameters to an aggregate function.

    E

    You can use aggregate functions on a table, only by grouping the whole table as one single group.

    F

    You cannot group the rows of a table by more than one column while using aggregate functions.


    正确答案: B,D
    解析: 暂无解析

  • 第19题:

    单选题
    The STUDENT_GRADES table has these columns: STUDENT_ID NUMBER(12) SEMESTER_END DATE GPA NUMBER(4,3) The registrar requested a report listing the students' grade point averages (GPA) sorted from highest grade point average to lowest. Which statement produces a report that displays the student ID and GPA in the sorted order requested by the registrar?()
    A

    SELECT student_id, gpa FROM student_grades ORDER BY gpa ASC;

    B

    SELECT student_id, gpa FROM student_grades SORT ORDER BY gpa ASC;

    C

    SELECT student_id, gpa FROM student_grades SORT ORDER BY gpa;

    D

    SELECT student_id, gpa FROM student_grades ORDER BY gpa;

    E

    SELECT student_id, gpa FROM student_grades SORT ORDER BY gpa DESC;

    F

    SELECT student_id, gpa FROM student_grades ORDER BY gpa DESC;


    正确答案: B
    解析: 暂无解析

  • 第20题:

    单选题
    The PRODUCTS table has these columns: PRODUCT_ID NUMBER(4) PRODUCT_NAME VARCHAR2(45) PRICE NUMBER(8,2) Evaluate this SQL statement: SELECT * FROM PRODUCTS ORDER BY price, product _ name; What is true about the SQL statement? ()
    A

    The results are not sorted.

    B

    The results are sorted numerically.

    C

    The results are sorted alphabetically.

    D

    The results are sorted numerically and then alphabetically.


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    You need to modify the STUDENTS table to add a primary key on the STUDENT_ID column. The table is currently empty. Which statement accomplishes this task?()
    A

    ALTER TABLE students ADD PRIMARY KEY student_id;

    B

    ALTER TABLE students ADD CONSTRAINT PRIMARY KEY (student_id);

    C

    ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY student_id;

    D

    ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY (student_id);

    E

    ALTER TABLE students MODIFY CONSTRAINT stud_id_pk PRIMARY KEY (student_id);


    正确答案: E
    解析: 暂无解析

  • 第22题:

    单选题
    For which action can you use the TO_DATE function? ()
    A

    Convert any date literal to a date

    B

    Convert any numeric literal to a date

    C

    Convert any character literal to a date

    D

    Convert any date to a character literal

    E

    Format '10-JAN-99' to 'January 10 1999'


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    The STUDENT_GRADES table has these columns STUDENT_ID NUMBER(12) SEMESTER_END DATE GPA NUMBER(4,3) Which statement finds students who have a grade point average (GPA) greater than 3.0 for the calendar year 2001?()
    A

    SELECT student_id, gpa FROM student_grades WHERE semester_end BETWEEN '01-JAN-2001' AND '31-DEC-2001' OR gpa > 3.;

    B

    SELECT student_id, gpa FROM student_grades WHERE semester_end BETWEEN '01-JAN-2001' AND '31-DEC-2001' AND gpa gt 3.0;

    C

    SELECT student_id, gpa FROM student_grades WHERE semester_end BETWEEN '01-JAN-2001' AND '31-DEC-2001' AND gpa > 3.0;

    D

    SELECT student_id, gpa FROM student_grades WHERE semester_end > '01-JAN-2001' OR semester_end < '31-DEC-2001' AND gpa >=s 3.0;


    正确答案: B
    解析: 暂无解析