You are here

Neuen Kommentar schreiben

SOME - Some of Records

Syntax

Description:

    SOME and ANY mean the same. They are used to apply a logicat constuct to all records at the rigth side of the operator. It's true when the logical construct has the value true on at least one record at the right side of the operator.

    Example:

SELECT *
 FROM tkunden
 WHERE rating &gt SOME ( SELECT rating FROM tkunden WHERE stadt='Berlin' );

Select all customers, where rating is bigger than the rating of at least one customer in Berlin.