
Not applicable
2016-08-04
10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sql sub-query in Qlik - urgent
Hello All,
Someone please help me. How can I create a load statement for the following SQL query.
select LocationId,MainVesselId FROM [dbo].[tbl_Data_VesselActivity] where SlNo in (selectmax(SlNo) FROM [dbo].[tbl_Data_VesselActivity] group by MainVesselId).
Please help. It's urgent.
Thank You,
Rahul
3,131 Views
- « Previous Replies
-
- 1
- 2
- Next Replies »
10 Replies

Contributor III
2022-02-17
06:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do we do in case where in query is coming from different schema other than main select statement?
I tried SQL select LocationId,MainVesselId FROM [dbo].[tbl_Data_VesselActivity] where SlNo in(selectmax(SlNo) FROM [dbo].[tbl_Data_VesselActivity] group by MainVesselId).
statement but it gives error ' Table or view does not exist'.
244 Views

- « Previous Replies
-
- 1
- 2
- Next Replies »