Difference of two series in MySQL
- by Brian
I have a table with the following fields in MySQL: date, Value, Type.
Type can be either exports or imports. I want a query that returns the trade deficit (exports-imports) for each month. Is this possible with a single query?