Welcome Guest, Not a member yet? Register   Sign In
Remove wildcard from field then Group By using active record/mysql query
#1

[eluser]RaZoR LeGaCy[/eluser]
I have been looking for this all over the net and I believe that I may be looking for the wrong terms.

I want to count(field_id) as tot, avg(field_score) as avg, and group by (field_title).

My problem is that I want MySQL to remove all wildcards before grouping field_title. I want title to be grouped but only after removing "[*]" and "(*)".

I would love to find an active record solution and the mysql query to learn this valuable complex query.

Thank you in advance.


Messages In This Thread
Remove wildcard from field then Group By using active record/mysql query - by El Forum - 07-31-2010, 11:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB