Professional Documents
Culture Documents
Crud - 2
Crud - 2
Agendifpead
WHERE
Not
AND OR
IN
BETWEEN
LIKE I
IisNIT Tricky Questions
ORDER BY
LIMIT
I
WHERE cta.se
STATEMENT WHERE
19Ethingtinity
Pyth Eaviatent
table 3
ans E
fifwwnateseond.no 1
7ere
ans add now
to A select
pot cargo
ath
FEED SELECT
AIRI
where clause 85 if and
Point Yee
I
j
s j
point
lighetimatigined
release Year 22006
OR
Question
SELECT
FROM film
E4 at
2 2 3 6
BODMAL
1 4133 6
Multiplewaystounter
N Programming long
Inope rate
SELECT It
from film
where rating Pa
OR rating per 13
OR R
grating
Redundancy
IS ELECT
FROM film per
where D IN is
rating
is
R
Between
select
than
where release year 7 2008
please year 2 2010
Get all the films
released in 2095 2010
released in 2015 2020
Select
from film
where release Year 7 2005
AND release year 2 2010
OR release year 7 2015
AND release year 2 2020
AmbiguitiesReay
10
lÉi He
IBETWEENXACÉ
185,4 4
512
49,1
Scheme
Attributes
scheme how
diff tables
would be structured
what tables
Diff attributes
UKE
Question Get all the films that
contains epic and
Drama in their description
It is used when we want
to do kind pattern
some
in a
of
matching string
y percentage
Exactly occurrence
of any
character
t
Ts Any number of occurrences
of any character
o
32
String CAT
t yes
It yes
I'c
t yes
eat
cat
Yes
f catt Yes
to to
IWHEREdescriptinlikeitepi.ci
p p p
column Operator pattern
f 1237
at
81435
IBI
I
ME
Get all the films
where description is hull
select
X from film
where description NULL
Nothing
is
NII
mon MULL Afalse
a MULL A false
FT
empty
box Empty
O
Brain
emptybid
X
lamptybox
tooensual empty things can't be
Tricky Question
Student
i t
Get all students with batch id 2
1 s9 u ia
Y from Students
nata
Ibatchidify
1 2
2 2 X
I Nuh 2 CULL
from students
sÉneÉg É
ORDER
BI
Hiiiii
ISEEE.it
from film
esc
ls from film
ns.ytitele.seleasexari
ELECT
Ffertibreleasandesstitles
PRYKEY
BEMEEEEII.es
t is n
4t
ans add Crow
ans sort
sortingditions
for row in ans
g
Bint Cane
fitted
release year title
based on theT column which
Istatimead
for fr'm
FEED
Hettfonfilmid 1000
2
avery
very
T from film
Resiltsfomntos
Offs
SELECT 0
11
noftst10
Distraught
O
II
Abhishek 1990
AH
t
select Clause you
D
can
the columns in
only
order
the select
by
1 2
45
set 3
512,31411