DBMS
DBMS
Table creation
Week-02
Q1. Display the entire course table.
Q2. Display all information about any course with a zero clabfee.
Q3. Display all information about any course which is offered by the
philosophy department.
Q7. Display all information about courses having cname values which
follow “HEDONISM” in alphabetic sequence.
Q8. Display the cno, cname, and cdept values (in that order) for every row
in the course table. 9.
Query – select distinct cdept from minor;
Q9. Select the cno, cdept, and clabfee values for every course with a
clabfee value less than $100.
Q13.For each course with a lab fee less than $100, display the academic
department which offers the course and the number of awarded credits.
Query- select name, cdept, cred from minor where clbfee < 100;
Q14. Display the course number and name of every course which has a
lab fee over $100. Include a third column in the result table which shows
“EXPENSIVE” in each row.