Arthur Drury wrote:
did you try a GROUP BY clause? something like this:
select a.alliance, avg(a.score) as scoreave, sum(a.score) as scoresum, sum(a.size) as sizesum, count(a.ruler) as planet_tot
from universe a
where a.alliance like '%bleh%'
group by a.alliance
Thats just it, I want to loose the %bleh% from the select statement because I want it to go through everything in the alliance column