I'm working with the SQL version created by data.world which seems pretty generic (probably a version of MySql)
my data looks like this:
ID |SSM | Abortion | Climate |
1 High Low Medium
2 High High Lo
3 Low High High
4 Medium Low Low
I want to generate a SQL statement that outputs counts for each column, it would hopefully look like the following:
Priority | SSM | Abortion | Climate |
High 2 2 1
Medium 1 0 1
Low 1 1 2