when trying to find the cost of a complex query (one with a sub-query in it) i get a value of 0. mysql's manual says:
"The Last_query_cost value can be computed accurately only for simple “flat” queries, not complex queries such as those with subqueries or UNION. For the latter, the value is set to 0."
and my question is - how do i calculate a cost of a complex query?