01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Suppliers Who Supply All the Parts Supplied by a Specified Supplier at Cheaper Prices<br />

The answer <strong>to</strong> this problem is interesting because the table has <strong>to</strong> be joined <strong>to</strong> itself.<br />

We use aliases— and —for the two copies in order <strong>to</strong> differentiate them, as shown in<br />

Listing 2-27.<br />

Listing 2-27. Suppliers Who Supply All the Parts Supplied by a Specified Supplier at Cheaper<br />

Prices

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

Saved successfully!

Ooh no, something went wrong!