Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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';