Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load with 2 where clauses

Hi,

Could someone please help me with this syntax i get an error when it executes

LOAD

A,

B'

clicod,

C,

D

SQL SELECT *

FROM PAB

WHERE NOT clicod = 'IN' and WHERE NOT LEFT(clicod,1) = 'B';

2 Replies
alexandros17
Partner - Champion III
Partner - Champion III

the second where in unuseful

SQL SELECT *

FROM PAB

WHERE NOT clicod = 'IN' and NOT LEFT(clicod,1) = 'B';

Not applicable
Author

SQL SELECT *

FROM PAB

WHERE clicod <> 'IN' and  LEFT(clicod,1) <> 'B';