Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

use results of query in another query

i should insert a result of query in another query .

my problem is the first query has many results and i should try the results in condition clause where (like)

example: 

the first query results are for example (1,2,3)

the second query is like that 

select code from codes where code like'%1%' and code like'%2% and code like'%3%'

i should have a dynamic query and i don't know which component i will use 

Labels (2)
10 Replies
Anonymous
Not applicable
Author

thanks for the response 

i have executing the job but there is an error the query is not perfect !

it's like that:

select code_grille_talend from code where code_grille_talend like'%2%'and
select code_grille_talend from code where code_grille_talend like'%1%'and

it can't execute in the TSqliteinput error

that's why it's should be like: 

select code_grille_talend from code where code_grille_talend like'%2% and code_grille_talend like'%1%' 

Idea Please !!