MySQL Forums
Forum List  »  InnoDB

Re: Rank with Total
Posted by: Ra Nala
Date: November 05, 2017 11:49AM

Hi Peter sir,

I am getting rank using

(SELECT @code:=(SELECT MIN(code) FROM lang) , @cur:=1) AS init

But i am not able to set total value on my 4th column.


Sir, atleast provide clue sir if you are not able to provide sample query

Options: ReplyQuote


Subject
Views
Written By
Posted
246
November 02, 2017 12:38PM
137
November 02, 2017 01:12PM
104
November 04, 2017 11:44AM
121
November 04, 2017 12:07PM
121
November 04, 2017 12:15PM
112
November 04, 2017 05:36PM
Re: Rank with Total
129
November 05, 2017 11:49AM
102
November 05, 2017 03:43PM
98
November 06, 2017 12:01PM
109
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.