Results 1 to 2 of 2
Thread: Regarding Join
- 06-14-2008, 05:46 AM #1
Member
- Join Date
- May 2008
- Posts
- 29
- Rep Power
- 0
- 06-24-2008, 07:57 PM #2
You create a cartesian product with this query. So you get all the possible combinations of rows from the two source tables. To get only what you want you have to create a join. The simplest way is to add a where clause and to specify what column in "expiry" refers to what column in "addissue":
Java Code:where e.issue_id = a.id
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
Similar Threads
-
How to use join() method
By Java Tip in forum java.langReplies: 0Last Post: 04-09-2008, 06:33 PM -
i'm happy to join this forum
By sivasayanth in forum IntroductionsReplies: 1Last Post: 12-25-2007, 08:56 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks