Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Oracle Articles
Submit Article
Home
»
Articles
»
Oracle
»
Operators
RSS Feeds
ANY operator
Posted By:
Adelaide Fischer
Category:
Oracle
Views:
2119
This article explains about using ANY operator with example.
Customer - orders - salespeople database
ANY operator
- takes all values produced by the sub-query,and evaluates to TRUE if ANY of them equal the city values of the current row of the outer query.
Find salespeople with customers located in their cities.
SELECT * FROM Salespeople WHERE city = ANY(SELECT city FROM Customers);
Share:
Previous Post:
using NOT EXISTS
Next Post:
ALL operator
Didn't find what you were looking for? Find more on
ANY operator
Or get
search suggestion and latest updates
.
Adelaide Fischer
author of ANY operator is from Frankfurt,
Germany
.
View All Articles
Related Articles and Code:
Unary Operator ++ Operator Overloading
Program to illustrate unary operator (increment operator) overloading without return type
Program to illustrate unary operator increment operator overloading with return type
Program to illustrate unary operator(decrement operator) overloading without return type
Program to illustrate unary operator(decrement operator) overloading with return type
Conditional operator and type cast operator
Assignment Operators and Shortcut Assignment Operators
Program to illustrate operator overloading from String object to basic string
Program to illustrate operator overloading from class to basic type
Program to perform operator overloading converting one class object to another
Program illustrating operator overloading
>= ( Greater Than or Equal To ) Comparison Operator
< ( Less Than ) Comparison Operator
> ( Greater Than ) Comparison Operator
= ( Equals ) Comparison operator
Comparison operators
= ( Assignment ) Operator
Examples of % ( Modulo ) Operator
Examples of / ( Divide ) Operator
Examples of * ( Multiply ) Operator
Other Interesting Articles in Oracle:
Customer - orders - salespeople database
REVOKE
WHERE clause
Cursor to display employee details based on user input department number
CLOSE CURSOR
DEALLOCATE CURSOR
FETCH
MINUS OPERATOR
Display average item price of item table using avg() function
Example to insert records in student, course and SC tables
Example to find items having unit price greater than or equal to 500
UNION QUERY
CREATE INDEX
Supplier-parts-project database
CREATE DATABASE
Write a query to calculate the Date difference
Display number of months from joining date to birth date of programmer
Display items containing letter 't' in item name
Example to add constraint in a table
Example to create an index
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Oracle
View All
Aggregate Functions
Analytical Functions
Common Statements
Constraints
Cursor
Data Control Language
Data Definition Lang
Data Manipulation Lang
Data Type
Database
Date Time Functions
Functions
Index
Interview FAQ
Joins
Math Functions
Operators
Select Query
Sequence
Stored Procedures
String Functions
Sub Query
System Functions
Transaction Control La...
Trigger
View
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint