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: 
qlikuser22
Creator II
Creator II

Store sql query in variable

Hi 

I have a select statement written in SQL. 

I want help to store the query result in a variable and use the variable in another SQL query. Please help me if there is any solution. 

Example:

Let abc = select * from table;

SQL select * from table where a =  (§abc); 

Labels (1)
10 Replies
qlikuser22
Creator II
Creator II
Author

Thanks. I will try and update.