Page is a not externally linkable
sam222 - 8:09 pm on Aug 9, 2011 (gmt 0)
Thanks for the reply.
I have restructured and removed GROUP BY clause and now my query is:
explain
SELECT *
FROM table
WHERE cat =16
AND s1 =112
AND s2 =0
AND s3 =0
AND s4 =0
AND p_id =102
ORDER BY fc_od, f_od
and this time got 24 rows and here are the results:
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE table ref p_id,KF,All_Fields All_Fields 24 const,const,const,const,const,const 24 Using where; Using filesort