I have an eloquent query where one of the orderBy is the difference of two columns.

$mymodel = Level::where([['ColA', 5], ['ColB', 10], ['ColC', 7]]) ->orderBy('ColA', 'Desc') ->orderBy('ColA' - 'ColB', 'Desc') ->orderBy('ColC', 'Desc') ->orderBy('ColD', 'Asc') ->pluck('userId')->toArray();

The exact same code on localhost with sqlite works without an error. But on production with MySQL has the following error