O'Reilly logo

OCA Oracle Database 11g: SQL Fundamentals I: A Real-World Certification Guide by Steve Ries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test your knowledge

  1. Functions that take a row of data as input and return a corresponding single value are known as

    a. multi-row functions

    b. single-row functions

    c. dual-row functions

    d. transformation functions

  2. Given that the last name of the employee with an employee_id of 6 is Harris, what value is returned from the following query?
    SELECT UPPER(last_name) FROM employee WHERE employee_id = 6;

    a. harris

    b. Harris

    c. HARRIS

    d. hARRIS

  3. Given an employee named KenWhite with an employee_id of 7, what two values are returned from the following query?
    SELECT INITCAP(first_name), LOWER(last_name) 
    FROM employee WHERE employee_id = 7;

    a. Ken White

    b. ken white

    c. kEN WHITE

    d. Ken white

  4. What value is returned from the following query?
    SELECT LENGTH((CONCAT('Learning SQL','is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required