Added missing row_number to the select list.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3458 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -18,6 +18,7 @@ SELECT enquiry_id
|
|||||||
,inlet_orientation
|
,inlet_orientation
|
||||||
,outlet_orientation
|
,outlet_orientation
|
||||||
,total_cost
|
,total_cost
|
||||||
|
,row_number
|
||||||
FROM (SELECT q.enqu_id AS enquiry_id
|
FROM (SELECT q.enqu_id AS enquiry_id
|
||||||
,t.qute_id AS quote_id
|
,t.qute_id AS quote_id
|
||||||
,MAX(t.enty_code) over(PARTITION BY qute_id) AS enty_code
|
,MAX(t.enty_code) over(PARTITION BY qute_id) AS enty_code
|
||||||
|
|||||||
Reference in New Issue
Block a user