select command denied

While trying to perform the query I get this error message. SO far everything that I have tried to do has failed me.

Error
SQL query: Documentation


SELECT Catagory.Category
FROM Catagory
LEFT JOIN products.Price
ON Catagory.Category=products.Price
WHERE ((Catagory.Category='Ring' OR Catagory.Category='Earings') AND (products.Price<=30))
ORDER BY products.Price LIMIT 0, 25
MySQL said: Documentation

**#1142 - SELECT command denied to user '2450097_onlinestore'@'185.176.40.25' for table 'Price'**

This is the code.

SELECT Catagory.Category
FROM Catagory
LEFT JOIN products.Price
ON Catagory.Category=products.Price
WHERE ((Catagory.Category='Ring' OR Catagory.Category='Earings') AND (products.Price<=30))
ORDER BY products.Price

Check privilege first.

use mysql;

select * from user;

The user does not have permission to execute select statements by default. You must GRANT the user permission: https://dev.mysql.com/doc/refman/5.7/en/grant.html