Tag: programming languages

Questions Related to programming languages

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