Questions Related to technology

Multiple choice technology programming languages
  1. The numbers generated by a sequence can be used only for one table

  2. DELETE <sequencename> would remove a sequence from the database

  3. CURRVAL is used to refer to the last sequence number that has been generated

  4. When the MAXVALUE limit for a sequence for reached, you can increase the MAXVALUE limit by using the ALTER SEQUENCE statement

Reveal answer Fill a bubble to check yourself
C,D Correct answer
Multiple choice technology programming languages
  1. They can contain a subquery within a subquery.

  2. They can return multiple columns as well as rows.

  3. They cannot contain a subquery within a subquery.

  4. They can return only one column but multiple rows.

  5. They can contain group functions and GROUP BY and HAVING clauses.

  6. They can contain group functions and the GROUP BY clause, but not the HAVING clause.

Reveal answer Fill a bubble to check yourself
A,B,E Correct answer
Multiple choice technology programming languages
  1. Subqueries can contain GROUP BY and ORDER BY clauses

  2. Main query and subquery can get data from different tables

  3. Main query and subquery must get data from the same tables

  4. Subqueries can contain ORDER BY but not the GROUP BY clause

  5. Only one column or expression can be compared between the main query and subqeury

  6. Multiple columns or expressions can be compared between the main query and subquery

Reveal answer Fill a bubble to check yourself
A,B,F Correct answer
Multiple choice technology programming languages
  1. SELECT TO_CHAR('ll-oct-2007'. 'miDdspth "of Month. Year') FROM DUAL:

  2. SELECT TO_CHAR(TO_DATE('ll-oct-2007'X 'miDdspth of month, year') FROM DUAL;

  3. SELECT TO_CHAR(TO_DATE('ll-oct-2007'). 'miDdthsp "of* Month. Year') FROM DUAL;

  4. SELECT TO_DATE(TO_CHAR('ll-oct-20077fiiiDdspth "of" Month. Year')) FROM DUAL:

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. The default internal storage of dates is in the numeric format

  2. The default internal storage of dates is in the character format

  3. The RR date format automatically calculates the century from the SYSDATE function and does not allow the user to enter the century

  4. The RR date format automatically calculates the century from the SYSDATE function but allows the user to enter the century if required

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Multiple choice technology programming languages
  1. A subquery that defines a view cannot include the GROUP BY clause

  2. A view is created with the subquery having the DISTINCT keyword can be updated

  3. A view that is created with the subquery having the pseudo column ROWNUM keyword cannot be updated

  4. A Data Manipulation Language (DML) operation can be performed on a view that is created with the subquery having all the NOT NULL columns of a table

Reveal answer Fill a bubble to check yourself
C,D Correct answer