Question: how to create sqvi query in sap?
Answer: Go to tcode SQVI and specify desired quickviewer name and create.
A popup will appear than select ” table join” option in data source field and enter.
Go to menu bar edit — > insert tables. ... 
If you want to insert a one more table follow the step 3.
Go back and select the field which you want in available fields.