S
subs
i have a table like this
name dept sales rank
ram purchase 230 1
bill purchase 120 2
mol purchase 40 3
steve purchase 24 4
ram logistics 89 1
ram logistics 23 2
bill logistics 12 3
mol logistics 4 4
steve logistics 2 5
I already have the first three columns in one of my tables. I want to
create a query which can give me the fourth column the rank column.
Rankings change once the dept changes as you could see above. How to
create a query to create a new column like rank
please help this is urgent. I would really appreciate
name dept sales rank
ram purchase 230 1
bill purchase 120 2
mol purchase 40 3
steve purchase 24 4
ram logistics 89 1
ram logistics 23 2
bill logistics 12 3
mol logistics 4 4
steve logistics 2 5
I already have the first three columns in one of my tables. I want to
create a query which can give me the fourth column the rank column.
Rankings change once the dept changes as you could see above. How to
create a query to create a new column like rank
please help this is urgent. I would really appreciate