IBM Books

SQL Reference

EXISTS Predicate

>>-EXISTS--(fullselect)----------------------------------------><
 

The EXISTS predicate tests for the existence of certain rows.

The fullselect may specify any number of columns, and

Example:

EXISTS (SELECT * FROM TEMPL WHERE SALARY < 10000)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]