01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 2 SQL AND PL/SQL 47<br />

<br />

in SQL.<br />

<br />

diagrams can include subdiagrams and can even refer <strong>to</strong> themselves in recursive<br />

fashion. For instance, a table reference can be an entire subquery—this kind of<br />

subquery is called an inline view. The list can include scalar subquery expressions—subqueries<br />

that return exactly one data item from exactly one data row.<br />

and Data Definition<br />

Language (DDL). DML includes the , , , , and statements.<br />

DDL includes the , , and statements for the different classes<br />

of objects in an <strong>Oracle</strong> database. The SQL reference manual also describes commands<br />

that can be used <strong>to</strong> perform database administration activities such as<br />

s<strong>to</strong>pping and starting databases.<br />

municate<br />

with the database.<br />

<br />

a prohibition against duplicates causes queries that are seemingly equivalent <strong>to</strong><br />

produce differing results and inhibits the query optimization process.<br />

<br />

mizer<br />

may not always choose the same query execution plan in all cases, even<br />

though the query plan that is most efficient in one case is obviously the most efficient<br />

for all other cases.<br />

<br />

programs has many advantages, including efficiency, control, and flexibility. PL/SQL<br />

offers a full complement of structured programming mechanisms such as condition<br />

checking, loops, and subroutines.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!