Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 14th, 2012, 08:37 AM
Authorized User
 
Join Date: Apr 2008
Posts: 85
Thanks: 10
Thanked 0 Times in 0 Posts
Default Performing Join problem

Hi All,

I have found this 'Join' query example in one of the univeristy's documents but not able to find any practicle example of that.
Could someone please help me to write the practical example of the below example:

( A WHERE restriction-on-A ) JOIN ( B WHERE restriction-on-B )

Explanation is given below:

Doing the restrictions before the join, as the transformed
version of the expression requires, is generally a good idea,
because it has the twin effects of:

(a) reducing the size of the input to the join, and hence
reducing the amount of data to be scanned in performing that
join, and

(b) reducing the size of the output from the join as well, which
could make the difference between being able to keep that output
in main memory and having to spool it out on to the disk.

Could you please tell me how can I write the query using this example.

Many Thanks
Nelly





Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical issue in 'Outer join', why out join is not working, the way it should? arbab Oracle 5 March 7th, 2011 09:22 AM
Problem with Join/Where jpryor SQL Server 2005 2 April 12th, 2008 01:25 AM
inner join problem john-boy SQL Language 1 March 29th, 2006 06:30 AM
Oracle 8i inner join and left join problem puteri_84 Oracle 2 August 19th, 2004 07:14 AM
JOIN problem kaz SQL Language 4 December 22nd, 2003 04:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.