Difference of two series in MySQL
Posted
by Brian
on Stack Overflow
See other posts from Stack Overflow
or by Brian
Published on 2010-05-17T00:40:52Z
Indexed on
2010/05/17
0:50 UTC
Read the original article
Hit count: 249
mysql
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?
© Stack Overflow or respective owner