Viewing 6 posts - 1 through 6 (of 6 total)
I think the correct answer should be -
select * from (select lname , datemodified , ROW_NUMBER() over (PARTITION by lname,jobtitle order by datemodified desc) as 'ct' from #DuplicateRow) a where...
March 3, 2015 at 12:45 am
Thanks every one!!! ...
March 28, 2013 at 4:25 am
Thanks every one for your support.
i got 3 methods to do that.
1. To make temp table with i will check with my real time DB and is the easiest method.
2....
February 6, 2012 at 10:20 am
Ya we were there before also. Thanks for your help.Actually i am new to this and trying to catch thing quickly.Here you go.....
create table info (id int,name text,class varchar(50))
insert into...
February 5, 2012 at 10:38 am
Thanks a lot guys for your support...........I am getting the required result now.
Cheers,
Preetpal:-)
February 5, 2012 at 9:45 am
The result that i want is:
Prod id quantity
p2 11
p3 16
This is...
February 4, 2012 at 11:51 pm
Viewing 6 posts - 1 through 6 (of 6 total)