DBMS Lab 06 - 21-CP-055
DBMS Lab 06 - 21-CP-055
DATABASE
MANAGEMENT
SYSTEM
LAB REPORT # 06
Submitted By:
Minal Fatima 21-CP-55
SQL WILDCARDS & OPERATORS
Lab Tasks:
a)
b)
c)
d)
e)
f)
2. Consider the following table “Products”
a) Write an SQL statement that selects all products with a price from 10 to 20.
b) Write an SQL statement that selects all products with a price from 20 to 30.
c) Write an SQL statement that selects all products with a price from 10 to 22 but products with a
CategoryIDof 1,2, or 3 should not be displayed.
d) Write an SQL statement that selects all products with a ProductName beginning with any of the
letter not between 'C' and 'M'.
a)
b)
c)
d)