Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
shravanveer
Contributor II
Contributor II

sql to qlik script

hi can anyone convert these script into qlikview script

 

Select * from Category C left join  Products P ON
C.[Category ID]=P.Category left join OrderDetails OD ON
P.ProductID=OD.ProductID
Where P.ProductID between 12 and 29
Order by P.ProductID

Labels (1)
1 Reply
sidhiq91
Specialist II
Specialist II

We can write the above query in Qlik as below.  Please mark it as solved if it has resolved your issue.

NoConcatenate
Category:
Load *, [Category ID]
from Category;

left join(Category)
Load *,Category as [Category ID],
ProductID
From Products
where ProductID>12 and ProductID<29;


Left join (Category)
Load *,ProductID
From OrderDetails