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:
1871
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:
Write a query to change the format of date using to_char function
Write a query to calculate the year difference
DATE FUNCTIONS
DEALLOCATE CURSOR
CREATE PROCEDURE
INTERSECT Clause
Car rental agency database
Example to find items having unit price greater than or equal to 500
Display total number of items ordered in each invoices
Example to add constraint in a table
Display customers having city other than gujarat and mp using not in
Display number of months from joining date to birth date of programmer
CREATE TABLE
Display student records whose name starts with 'm' using like % operator
Display total of each invoices
Use the FRIENDS table to answer the following questions
WHERE clause
Example to provide insert and select privilege of item table to a user using grant
Example to insert data using variables in a table
Example to find total value of each item based on current stock using multiplication operator in select query
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