A. The table is accessible to all users. B. Tables are created in the public schema. C. Tables are created in your schema. D. Tables are created in the DBA schema. E. You must specify the schema when the table is created.
A. The underlying tables must have data. B. You need SELECT privileges on the view. C. The underlying tables must be in the same schema. D. You need SELECT privileges only on the underlying tables.
A. difference, projection, join B. selection, projection, join C. selection, intersection, join D. intersection, projection, join E. difference, projection, product
A. SELECT &1, "&2" FROM &3 WHERE last_name = '&8'; B. SELECT &1, '&2' FROM &3 WHERE '& last_name = '&8'; C. SELECT &1, &2 FROM &3 WHERE last_name = '&8'; D. SELECT &1, '&2' FROM EMP WHERE last_name = '&8';
A.randomly B.ascending by date C.descending by date D.ascending alphabetically E.descending alphabetically
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 parameter 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.
A. Alice only B. Alice and Reena C. Alice, Reena, and Timber D. Sue, Alice, Reena, and Timber
A. SELECT last_name, (salary * 12) * commission_pct FROM EMPLOYEES; B. SELECT last_name, (salary * 12) * IFNULL(commission_pct, 0) FROM EMPLOYEES; C. SELECT last_name, (salary * 12) * NVL2(commission_pct, 0) FROM EMPLOYEES; D. SELECT last_name, (salary * 12) * NVL(commission_pct, 0) FROM EMPLOYEES;
A. INSTR returns the numeric position of a named character. B. NVL2 returns the first non-null expression in the expression list. C. TRUNCATE rounds the column, expression, or value to n decimal places. D. DECODE translates an expression after comparing it to each search value. E. TRIM trims the heading of trailing characters (or both) from a character string. F. NVL compares two expressions and returns null if they are equal, or the first expression of they are not equal. G. NULLIF compares twp expressions and returns null if they are equal, or the first expression if they are not equal.
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;