Class Assignment 1
Class Assignment 1
mysql> select roll_no, name, c_name, fees from student1 natural join
course;
+---------+----------------+--------+----------+
| roll_no | name | c_name | fees |
+---------+----------------+--------+----------+
| 1 | John Doe | B-Tech | 62000.00 |
| 2 | Alice Smith | B-Tech | 62000.00 |
| 3 | Bob Johnson | B-Sc | 25000.00 |
| 4 | Emily Brown | B-Sc | 25000.00 |
| 5 | David Lee | B-Sc | 25000.00 |
| 6 | Sarah White | M-Tech | 40000.00 |
| 7 | Michael Wilson | M-Sc | 20000.00 |
| 8 | Olivia Devis | M-Sc | 20000.00 |
+---------+----------------+--------+----------+
8 rows in set (0.00 sec)