-
Notifications
You must be signed in to change notification settings - Fork 664
Andrey Gershun edited this page May 27, 2015
·
2 revisions
Syntax:
expression IN array
AlaSQL supports IN
operatior:
SELECT a FROM one WHERE b IN (1,2,3)
SELECT a FROM one WHERE b IN (SELECT b FROM two)
SELECT a FROM one WHERE b IN ?
expression IN @(expression)
like:
10 IN @(?)
@a IN @(@b)
20 IN @(@[10,20,30])
See the example in jsFiddle
See also: [NOT IN](Not In), EXISTS
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo