Table of Contents

Search

  1. About the Data Vault SQL Reference
  2. Introduction to SQL Reference for Informatica Data Vault
  3. Date and Time Arithmetic
  4. WHERE Clauses
  5. UNION Operator
  6. Parameterized Query
  7. Functions

Data Vault SQL Reference

Data Vault SQL Reference

Example of Quantified Comparison

Example of Quantified Comparison

SELECT * FROM inventory WHERE cost >= ALL (SELECT I.price FROM items I, orders O WHERE I.o_no = O.o_no);
Each
cost
value in the inventory table is tested against all the
price
values returned by the subquery. Since the operator/keyword is
>= ALL
, if a particular row’s cost value is greater than every single value returned by the subquery, the value expression returns TRUE, and that row is included in the result set.

0 COMMENTS

We’d like to hear from you!