Dave:
You should have scrolled right on the sample, there was a second column. How about:
JohnCode:SELECT company_parent_id, ROW_NUMBER() OVER (PARTITION BY company_parent_id ORDER BY company_parent_id) gen FROM company
|
Results 1 to 4 of 4
Thread: tip queryThreaded View
|
Click Here to Expand Forum to Full Width |