how to pass the result of one sql query to another sql query dynamically , The first query returns almost 16 k rows and this should be passed to another sql query programmatically for all possible combinations . I am using spark sql

TufanRakshit
New Contributor
 

RKNutalapati
Valued Contributor

@Tufan Rakshit​  : Could you please provide a sample example / pseudocode for above requirement that you are trying to implement.