ALLBASE/SQL Reference Manual
> Chapter 9 Search ConditionsEXISTS Predicate |
||||||||||||||||||||||||
|
ScopeSQL Data Manipulation Statements SQL SyntaxEXISTS SubQuery Parameters
DescriptionUnlike other places in which subqueries occur, the EXISTS predicate allows the subquery to specify more than one column in its select list. ExampleGet supplier names for suppliers who provide at least one part. SELECT S.SNAME FROM S WHERE EXISTS ( SELECT * FROM SP WHERE SP.SNO = S.SNO );
|