I need to know how to access two tables which has some reference values within the table.I need the Java Code to Fetch Both the tables values which are same and have to display it

Recommended Answers

All 3 Replies

you wanna know how to configure the JDBC driver or you jz wanna know the sql statement?
which database you are apply?

I need to know how to access two tables which has some reference values within the table.I need the Java Code to Fetch Both the tables values which are same and have to display it

It is a part of DB not java. Use query which implement JOIN. One query can solve your problem.

If you don't know how to fire query through java then first go for it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.