Adapting a fragment code

Joined
Aug 23, 2010
Messages
2
Reaction score
0
Hey I need some help! I want to adapt this program code in a database regarding the population of specific ethnicities in US Cities. I want to adapt the program code in a way that I can get the following

1) 2 columns: __ethnicity__ population and total population
2) __Ethnicity__ as a percentage of the total population

The database file looks like this:

popdata.jpg


The code I'm planning to use is right below:
sql_SOLUTION.gif
 
Back
Top