1.lab Final (Cse 3106)
1.lab Final (Cse 3106)
Table:Task
Task _ID(PK) Task _name EstimatedHour ActualHour
Table:Priority
Priority_ID(PK) Priority_Name
Table:Task_Priority
Task_ID(PK) Priority_ID(PK)
Fk:Task_ID references Task(Task_ID),Priority_ID references Priority(Priority_ID)
Table:Task_Assignment
Task_ID(PK) Creator_ID(PK) Developer_ID(PK)
Fk:Task_ID references Task(Task_ID),Creator_ID references
Employee(Employee_ID),Developer_ID references Employee(Employee_ID)
1. Set the priorities of the tasks by priority3 which are assigned to more than five developers.Here
Priority3 is priority name.
2. Select the Task names which are neither assigned by any creator nor solved by any developer.
3. Find the average age of the developers and the numbers of task for each priority of a task.
Table:Student
Student_ID(PK) Student_Name
Table:Account
Student_ID(PK) Balance
Exp:02
Write a function that will take Student_ID as parameter and return the Student_Name and Balance from
the above table.
Exp:03
You are given the following tables.
Department(Dept_id, Dept_Name, Transaction_No, Trans_Amount)
Student(Dept_id, Student_id, Name, Mob_no, CGPA)
i. Find the Depatment Name,Student Name whose average Transaction Amount greater than
25000/=.
ii. Find the Student year from the table(Considering MBSTU Student ID formation)