PHP Mysqli perform a calculated query

  calculated-columns, mysqli, php

I would like to perform a calculated query. For example I have a database table with column 1, and column 2. I would like to perform a query such as

SELECT * FROM 'table' WHERE (column 1 - column 2 > 0)

Is this possible??

Source: Ask PHP

LEAVE A COMMENT