Mysql Row Number Window Function With Case Expression

Mysql Row Number Window Function With Case Expression