Dr. Md. Rakibul Hoque University of Dhaka
Dr. Md. Rakibul Hoque University of Dhaka
table
DELETE delete existing records from a table
General format:
Select customer.customer-name
from customer
where customer.customer-id= 192-83-7465
Basic Structure
select loan-number
from loan
where branch-name=Mirpur and
amount > 1200
The where Clause
SQL uses the logical connectives and, or and
not rather than mathematical symbols , V
and in where clause. The operands of the
logical connectives can be expressions
involving the comparison operatiors =, <>, >, <,
>=, > and >=. SQL allows to use comparison
operators to compare strings and arithmetic
expressions as well as special types such as
dates.
SQL includes a between comparison to simplify
where clause that specify <= and >=. It is also
possible to use not between operator.
The where Clause