I get this error when trying insert data to table. Here is my query
INSERT INTO client_requests(client_price_plan_id, request) VALUES
(
(SELECT @client_price_client_price_plans.id FROM client_price_plans
WHERE client_id = 1),
(SELECT COUNT(client_requests.id) FROM client_requests
JOIN client_price_plans
ON client_price_plans.client_id = 1
)+1
)
Where is my wrong. Please help me