MySQL Forums
Forum List  »  InnoDB

Re: Rank with Total
Posted by: Peter Brawley
Date: November 02, 2017 01:12PM

> i want to set final rank (i.e. 3) to my other column(emp_count).

what column does "final rank" refer to?

If it's e,p_rank, then ...

update tbl set emp_rank=emp_count;

Options: ReplyQuote


Subject
Views
Written By
Posted
1171
November 02, 2017 12:38PM
Re: Rank with Total
662
November 02, 2017 01:12PM
584
November 04, 2017 11:44AM
501
November 04, 2017 12:07PM
639
November 04, 2017 12:15PM
564
November 04, 2017 05:36PM
592
November 05, 2017 11:49AM
556
November 05, 2017 03:43PM
549
November 06, 2017 12:01PM
513
November 06, 2017 12:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.