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