Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

join

mysql> SELECT a.id, a.name,b.id FROM tutorials_inf a,tutorials_bks b WHERE a.id = b.id;
+----+-------+----+
| id | name  | id |
+----+-------+----+
|  1 | sai   |  1 |
|  2 | johar |  2 |
|  3 | raghu |  3 |
|  4 | ram   |  4 |
+----+-------+----+
4 rows in set (0.00 sec)
mysql>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #join
ADD COMMENT
Topic
Name
2+3 =