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:
2072
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(decrement operator) overloading without return type
Program to illustrate unary operator(decrement operator) overloading with return type
Program to illustrate unary operator (increment operator) overloading without return type
Program to illustrate unary operator increment operator overloading with return type
Conditional operator and type cast operator
Assignment Operators and Shortcut Assignment Operators
Program that implements overloaded "-" minus unary operator.
Increment and Decrement Operators
Relational Operators
Arithmetic Operators
To parse a string using Operator Precedence parsing
To parse a string using Operator Precedence parsing
PROGRAM OF OPERATOR PRECEDENCE MATRIX
Program that demonstrate the basic arithmetic operators
Program to print address of a variable using & operator
Program to print address of a variable using & and * operators
Program that provides an example of scope resolution operator
Program to use increment and decrement operators
PROGRAM THAT PROVIDES THE USE OF SHORTHAND OPERATOR *=
Other Interesting Articles in Oracle:
Example to insert data using variables in a table
Display student details born in year 1980 to 1982 using to_char() function
String functions
DROP VIEW
Display items containing letter 't' in item name
DROP INDEX
Display lowest item price of item table using min() function
Example of sub query to display items having item price less than Keyboard
Display number of months from joining date to birth date of programmer
Customer - movie database
INDEXES
Write a query to change the case of strings using lower and upper function
Display invoices containing item keyboard in list
CLOSE CURSOR
ROLLBACK TRANSACTION
Example to add constraint of primary key in a table
using NOT EXISTS
Display top 3 highest item price from item table
NUMERIC FUNCTIONS
ORDER BY Clause
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