beitreten
SELECT column-names
FROM table-name1
JOIN table-name2 ON column-name1 = column-name2
WHERE condition
coding Rex
SELECT column-names
FROM table-name1
JOIN table-name2 ON column-name1 = column-name2
WHERE condition
select *
from toys
join bricks
on toy_id > brick_id ;
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>