How can I make a statement:
SELECT column1 FROM db WHERE country in ('USA','BRA','CHN') and commodity='pork'
return
value1, value2, value3 (where value1 is for USA, value2 for BRA, value3 for CHN)
The best I've got so far is a single column with all the values that appear as they are pulled out of the database.
source
share