Comparison operators and filters are two different types of operations that can be used in SQL. While comparison operators compare two values and return TRUE if they are equal, filters compare one value against a list of values and returns TRUE if the value is found in the list.
The SQL comparison operator is used to compare two values and return a Boolean value based on the outcome of the comparison. The following example will show you how to use it:
SELECT * FROM users WHERE name = 'John' or age< 30;
SQL comparison operators are used to compare two or more values. They can be used to find out if one value is greater than, less than, equal to, or not equal to another value.
There are many types of comparison operators. Some of them include:
Greater than or less than
More than or less than
Greater than or equal to
Less than or equal to
More than or greater than
Comparison operators are used in SQL to compare two values and return a value based on the comparison.
The following are some of the common comparison operators:
=,<, >,<=, >=,
>=<, BETWEEN and IN.
Learner's Ratings
3.8
Overall Rating
45%
21%
13%
11%
10%
Reviews
A
Arvind Kumar
5
very nice course for begginer to under stand
H
hemant
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file
J
Juboraj Juboraj
4
Explain details & easy to understand.
A
Aman Kanaujia
4
All good , but provide the data also for the assignment , Without data the interest is less day by day from the course. So, try to solve this problem as asap.
S
Snehil
4
Everything is good but keyboard sounds more harsh and overlap your voice whereas this course is best.
F
FAROOK MOHAMMAD
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file.
H
Hari Prakash
4
In SQL Join Function's 2nd video - Teacher's voice dose not match with background content that are plays
A
Aakash Mavar
5
Hello sir
Mera Abhi graduation hu he Mene Mechanical Engineering BTech ki Hai me Data analysis me Apna career Bana skat ho Kya
Share a personalized message with your friends.