+ 3
is OR and IN same?
7 Answers
+ 4
nooo dear
or is used in the case where there is given some condition for choosing whereas in is used to print data or tables where we need a thing like the questions
write a query to show the no of students in class 11 from a predefined student table .
so I think now it is clear 2 u
+ 2
yes. same. But its better use IN as we can do it in single statement....
+ 2
Yes they are same.
But if you have so many values to compare just use IN.
+ 1
if there are two values to be compared then use or else use in beside this in is also used to copy a table in other database in is bigger brother
we can use in in place of or anywhere but with 2 values syntax will look like waste
+ 1
No they are not the same. Or gives you the results of either/or but in gives you the within / range...
0
Rahul savita
- 4
nanXCZNJHE*