Let's say I want to include a sentence wherebased on two columns, X and Z. Then I order (3 * X) + Z DESC. Is it possible? I could not find anything about arithmetic in column order.
Thus, the expression will look like this:
SELECT * FROM mySweetTable
WHERE U LIKE "as%" or V LIKE "as%"
ORDER BY (3 * X + Z) DESC
source
share