Exp 8 Joins
Exp 8 Joins
+-----------+---------+------+---------+------------+-------+---------+
| Regno | Name | Dept | Address | Fathername | Marks | subject |
+-----------+---------+------+---------+------------+-------+---------+
| 192011090 | Gowtham | CSE | Chennai | moorthi | 99 | DBMS |
| 192011079 | arun | BME | nellore | muthu | 91 | BIOEVS |
| 192011095 | Harish | ECE | Madurai | Kannan | 95 | PDSD |
| 192211080 | Dhivya | ECE | Tirupur | Ramesh | 91 | PDSD |
+-----------+---------+------+---------+------------+-------+---------+
4 rows in set (0.00 sec)
mysql> create table mdept(Deptid int(5),Deptname varchar(20),Rollno int(10));
Query OK, 0 rows affected, 2 warnings (0.04 sec)