+ 23

How to joins table in sql??

13th Mar 2019, 1:23 AM
Kaju Kishmish❀
Kaju Kishmish❀ - avatar
7 Answers
+ 4
I can join two or more table using something in common them: Example: TABLE1 TABLE2 1- Both they have de same column "IDCLIENT", so you can do: 2 - You have to set some nickname to both tables in this case I set "TB1 = TABLE1" and "TB2 = TABLE2". SELECT IDCLIENT (any columns you want) FROM TABLE1 TB1 INNER JOIN TABLE2 TB2 ON (TB1.IDCLIENT = TB2.IDCLIENT) There are lot of ways to join tables : https://www.dofactory.com/sql/join
13th Mar 2019, 12:00 PM
Ramon Domingues
Ramon Domingues - avatar
+ 18
Thank... Ur answer absolutely right😎😎👍👍👍tanay😊
13th Mar 2019, 3:10 AM
Kaju Kishmish❀
Kaju Kishmish❀ - avatar
+ 16
Tysm.... Ramon domingues Awesome answer n ur link.. 👍
14th Mar 2019, 1:26 AM
Kaju Kishmish❀
Kaju Kishmish❀ - avatar
+ 9
Thanks for this link, #Ramon Dominguez, it looks like very good !
13th Mar 2019, 3:26 PM
Laurent Chretien
Laurent Chretien - avatar
+ 1
Also good know: JOIN = horizontal APPEND = vertical
14th Mar 2019, 4:37 PM
Max_Mnemo
Max_Mnemo - avatar
0
Anban mb
24th Mar 2019, 12:10 PM
[No Name]
0
Select * from table1name , table2name;
4th May 2019, 12:18 PM
Vaibhav Goyal
Vaibhav Goyal - avatar