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
EXISTS OPERATOR
Posted By:
Evie Brown
Category:
Oracle
Views:
1938
This article explains about EXISTS OPERATOR with example.
Customer - orders - salespeople database
EXISTS OPERATOR
- takes a sub-query as a argument and evaluates to TRUE if there is output OR FALSE if it does not produces output.
select data from Customers table,if and only if there is a customer located in ahmd city.
SELECT * FROM Customers WHERE EXISTS (SELECT * FROM Customers WHERE city='chennai');
Share:
Previous Post:
CREATING A TABLE FROM A TABLE
Next Post:
USING EXISTS with CO-RELATED SUB-QUERIES
Didn't find what you were looking for? Find more on
EXISTS OPERATOR
Or get
search suggestion and latest updates
.
Evie Brown
author of EXISTS OPERATOR is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
Exists Operator
Shell script to check dir directory if it exists then change the path, if not then create dir with that name and also check for file name not exists
Example to create table based on existing table
USING EXISTS with CO-RELATED SUB-QUERIES
using NOT EXISTS
BATCH FILE SHOWING THAT WHETEHER THE FILE EXIST OR NOT
Code First for Existing Database with POCO class auto generated
Shell script to change extension of an existing file
Program to Open an Existing file write into it and close it
APPENDING ITEMS TO AN EXISTING FILE USING DO WHILE LOOP
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
ProLog Program to create a window and input a new string, remove the window and text, write to existing window
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Write a shell script, which will receive any number of filenames as arguments .The shell script should check whether such files already exist.
Other Interesting Articles in Oracle:
ALL operator
Write a query to find the last day of the month
Example to revoke insert privilege of item table from a user using revoke
CREATE DATABASE
Write a query to calculate the Date difference
Example to create an index
Write a query to change the format of date using to_char function
Display item details in descending order of item price using order by clause in select query
Display invoices having items greater than or equal to 3
DROP VIEW
Example to rename table name
Example to insert data using variables in a table
Display items having item price between 100 to 500 using select query
HAVING Clause
WHERE clause
DISTRIBUTED DATABASE
Write a query to Calculate the month difference
Add fields or columns city and area in a customer table
Write a query to add days in todays date using sysdate function
CREATE 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