add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%,
(s.category * r.return_risk_rate) AS return_risk_value
FROM sales s
JOIN r...' at line 4