How to join two tables using ajax in java of same database | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to join two tables using ajax in java of same database

I want to show the data of both tables on samepage.Give reply as soon as possible

13th Apr 2019, 3:35 PM
RAJAT RATHORE
RAJAT RATHORE - avatar
2 Answers
+ 1
Isn't AJAX using JavaScript? Do you want to mix data from two tables, or mix some fields of two tables with a set of relationship? To mix resultset of two tables you use UNION; to mix fields from two tables with a set of relationship you use JOIN. https://www.sololearn.com/learn/SQL/1865/ https://www.sololearn.com/learn/SQL/1867/
15th Apr 2019, 6:12 AM
Ipang
+ 1
Isn't AJAX using JavaScript? Do you want to mix data from two tables, or mix some fields of two tables with a set of relationship? To mix resultset of two tables you use UNION; to mix fields from two tables with a set of relationship you use JOIN. https://www.sololearn.com/learn/SQL/1865/ https://www.sololearn.com/learn/SQL/1867/
15th Apr 2019, 6:12 AM
Ipang