Hi Experts:
I need help with a work around for below in-line query which I need transposed in a view in MySQL (MySQL does not accept view creation with subqueries of any kind). I am working on a MySQL project which needs completed ASAP
Here is the query which gives me the desired result
Thanks so much
SELECT Providers.name, Providers.context, Rates.phone_no, Rates.cost,
Providers.prov_id, Rates.rate_id
FROM Providers,
Rates,
(SELECT min(cost) least_cost, phone_no
from Rates
GROUP BY phone_no) least_rate
WHERE Providers.prov_id = Rates.prov_id AND
Rates.phone_no = least_rate.phone_no AND
least_rate.least_cost = Rates.cost