TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

Oracle COMPARISON OPERATORS

Oracle COMPARISON OPERATORS for beginners and professionals with examples on insert, select, update, delete, table, view, join, key, functions, procedures, indexes, cursor etc.

<< Back to ORACLE

Comparison operators

In Oracle, Comparison operators are used with the where clause. The following are the operators that can be used:-

Comparison operator Description
= Equal
<> Not Equal
!= Not equal
> Greater than
>= Greater than or equal
< Less than
<= Less than or equal

Table:

Oracle Comparison operators

Example: Equal operator

In Oracle, equal (=) operator is used for checking equality.

Query: select * from table1 where age = 26

Oracle Comparison operators

Example: Not Equal operator

In Oracle, not equal operator is used for checking inequality. != or <> can be used for checking inequality in a query.

Query: select * from table1 where age <> 26

Oracle Comparison operators

Query: select * from table1 where age != 26

Oracle Comparison operators

Example: Greater than operator

In Oracle, greater than (>) operator is used for getting greater than value of the given expression.

Query: select * from table1 where age > 26

Oracle Comparison operators

Example: Greater than or equal operator

In Oracle, greater than or equal (>=) operator is used for getting greater than or equal to value of the given expression.

Query: select * from table1 where age > = 26

Oracle Comparison operators

Example: Less than operator

In Oracle, less than (<) operator is used for getting less than value of the given expression.

Query: select * from table1 where age < 26

Oracle Comparison operators

Example: Less than or equal operator

In Oracle, less than or equal (<=) operator is used for getting less than or equal to value of the given expression.

Query: select * from table1 where age <= 26

Oracle Comparison operators
Next TopicDELETE




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf