Elxis CMS Forum

International zone => فارسی - Persian => Topic started by: davoud on October 20, 2009, 11:44:39

Title: Bad query?
Post by: davoud on October 20, 2009, 11:44:39
Hi

One of the designed web site creates a lot of query in Mysql Database with following syntax:

SELECT a.*, ROUND( v.rating_sum / v.rating_count ) AS rating, v.rating_count, u.name AS author, u.usertype, s.name AS section, cc.name AS category, g.name AS group

I found this  query in this file
components / com_content / content.php

What's the problem?! ???