1

I have a scenerio where i'm filtering some records from a table and reusing the same intermediate tables to join on a column. My query looks something like this

select * from
(select poscode  from test where  AccountNo='270679' )AS FD 
JOIN 
(select poscode from test where AccountNo!='270679')AS MD
ON FD.poscode=MD.poscodE 

I can put two get request on my data but and get the result but how will i use the concept of temporaray tables here in elastic search as i created two FD,MD in sql and put a join between them. I was able to get some info from here but not sure how to put all that together

user7422128
  • 902
  • 4
  • 17
  • 41

0 Answers0