Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
cs30team2
Starting Member
1 Post |
Posted - 2010-09-08 : 10:44:40
|
| HiWe're tasked to solve this problem for our computer science class.Anyone care to explain?Our team needs to adapt the fragment of code below to show:1) Two columns: the Filipino Population and Total Population2) The Filipino Population as a percentage of the total populationHere's the code:SELECT DISTICNTROW POPDATA. CITYNUMCOUNT(*) FROM POPDATAWHERE POPDATA.ANCNUMBER=720GROUP BY POPDATA.CITYNUMORDER BY COUNT (*) DESC; |
|
|
|
|
|