What is the equivalent query for 'NOT IN' in Volt DB?
Asked
Active
Viewed 122 times
0
-
I mean function – Sharath Ravi Jul 04 '17 at 08:30
-
refer the synopsis and description [HERE](https://docs.voltdb.com/UsingVoltDB/sqlref_select.php) – PrinceKayastha Jul 04 '17 at 08:38
-
Can you show @SharathRavi What you want to achieve ? An example would help, with a scenario even better. – Prabodh M Jul 04 '17 at 09:00
1 Answers
1
VoltDB supports NOT IN syntax:
1> create table foo (a integer);
Command succeeded.
2> insert into foo values (1);
(Returned 1 rows in 0.00s)
3> insert into foo values (2);
(Returned 1 rows in 0.00s)
4> insert into foo values (3);
(Returned 1 rows in 0.00s)
5> select * from foo where a not in (1,2);
A
--
3
(Returned 1 rows in 0.00s)

BenjaminBallard
- 1,482
- 12
- 11