CREATE TABLE IF NOT EXISTS client_prices ( client_id INT NOT NULL, product_id INT NOT NULL, price DECIMAL(10, 2) NOT NULL, PRIMARY KEY (client_id, product_id), FOREIGN KEY (client_id) REFERENCES clients(id) ON DELETE CASCADE, FOREIGN KEY (product_id) REFERENCES products(id) ON DELETE CASCADE );