You are on page 1of 2

1.

Write a Python program to fetch records where both tables contain same
empno. Suppose there are two table Employee and Bonus.
2. Write a Python program to list dept no., Dept name for all the departments
in which there are no employees in the department.
3. Write a Python program to retrieve each employee who is in a department
and each department that has an employee and also each employee who
is not part of a department and each department which doesn't have an
employee.
4. Write a Python program to Select an employee's department where they
have not been assigned to a department
5. For
StudentDetail Table:

StudentMarks Table:

Write a python program to create a View named MarksView from two


tables StudentDetails and StudentMarks so that below data comes in
MarksView:

6. For the question5 data, write a python program to update the view
MarksView and add the field AGE to this View from StudentMarks Table.
7.

You might also like