SQL interview question | Write the query

We have two columns(Revenue and Cost Price) in a table like below, get me the Profit column Revenue       Cost Price        Profit 100                  Null                 100 200                  20    … Continue reading SQL interview question | Write the query