Wednesday, 17 December 2025

when you order by two columns use this.imp

 




SELECT *

FROM dbo.tbl_WorkFlowMembers w

WHERE w.WorkFlow_ID IN (

    SELECT WorkFlow_ID

    FROM dbo.tbl_WorkFlow

    WHERE country_code = 'BE'

)

ORDER BY 

    w.WorkFlow_ID,

    w.Approver_Sequence DESC;


No comments:

Post a Comment

Capgemini Interview

 capgemini famous interview question List<int> A = new List<int>(); A.add(1); List<int> B=A; B=new List<int>(); B.Ad...