Professional Documents
Culture Documents
Lab_06
Lab_06
IT[244]
Lab #:06
FACULTY OF CS & IT
UNIVERSITY OF GUJRAT
Concatenation Operator
Concatenation
Operator
Using Character Strings
Using Character Strings.. Cont
Eliminating Duplicate Rows
li c ate
e d up se
at lt u
e limin e resu d in
To in th ywor
s
row INCT ke
DIST the se .
C T clu
SELE
Character Strings are CASE SENSITIVE
Operator Meaning
= Equal to
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
<> Not equal to
Using Comparison Operators
Other Comparison Operators
Operator Meaning
BETWEEN Between two Values (inclusive)
….AND…..
IN(list) Match any of a list of Values
LIKE Match a character Pattern
IS NULL Is a null value
Using BETWEEN , AND Operator
(Range of Values)
You mu
st
specify
lower li the
mit firs
t.
Using the IN Operator
If Characters or Dates
are used in the list they
must be enclosed in
single quotation marks.
Using the LIKE Operator
Symbol Description