This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes  Query Dependent on first Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark " Query Dependent on first" Watch " Query Dependent on first" New topic

Query Dependent on first

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
I have a resultSet
RS1=Select Mainid ,SubId From Table1
i want to get values of SubId from another table2
Depending upon the values i get from RS1
i want to run rs2.
i m not getting the RS2 resultset.
Any solution?
I agree. Here's the link:
subject: Query Dependent on first