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
Given that the last name of the employee with an
employee_id
of6
isHarris
, 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
Given an employee named
Ken
White
with anemployee_id
of7
, 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
What value is returned from the following query?
SELECT LENGTH((CONCAT('Learning SQL','is fun'))) FROM dual;
a. Learning SQLis fun
b. Learning SQL is fun
c. 18
d. 19
Given the following SQL statement, which statement is FALSE?
SELECT RPAD(project_name, 31, '*') FROM project;
a. The padding characters appear on the right side of the
project_name...
OCA Oracle Database 11g: SQL Fundamentals I: A Real World Certification Guide ( 1ZO-051 )
By :
OCA Oracle Database 11g: SQL Fundamentals I: A Real World Certification Guide ( 1ZO-051 )
By:
Overview of this book
<p>The Oracle Database 11g: SQL Fundamentals I exam is the first stepping stone in getting the Oracle Certified Associate Certification for Oracle Database 11g. The SQL programming language is used in every major relational database today and understanding the real world application of it is the key to becoming a successful DBA.<br /><br />This book gives you: the essential real world skills to master relational data manipulation with Oracle SQL and prepares you to become an Oracle Certified Associate. Beginners are introduced to concepts in a logical manner while practitioners can use it as a reference to jump to relevant concepts directly.<br /><br />We begin with the essentials of why databases are important in today's information technology world and how they work.<br /><br />We continue by explaining the concepts of querying and modifying data in Oracle using a range of techniques, including data projection, selection, creation, joins, sub-queries and functions. Finally, we learn to create and manipulate database objects and to use them in the same way as today's expert SQL programmers.<br /><br />This book prepares you to master the fundamentals of the SQL programming language using an example-driven method that is easy to understand<br /><br />This definitive certification guide provides a disciplined approach to be adopted for successfully clearing the 1Z0-051 SQL Fundamentals I exam, which is the first stepping stone towards attaining the OCA on Oracle Database 11g certification.<br /><br />Each chapter contains ample practice questions at the end. A full-blown mock test is included for practice so you can test your knowledge and get a feel for the actual exam.</p>
Table of Contents (20 chapters)
OCA Oracle Database 11g: SQL Fundamentals I: A Real-World Certification Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
SQL and Relational Databases
SQL SELECT Statements
Using Conditional Statements
Data Manipulation with DML
Combining Data from Multiple Tables
Row Level Data Transformation
Aggregate Data Transformation
Combining Queries
Creating Tables
Creating Other Database Objects
SQL in Application Development
Companylink Table Reference
Getting Started with APEX
Index
Customer Reviews