MariaDB [bookbiz]> UPDATE titles
SET price = price * 2
FROM titles, publishers
WHERE titles.pub_id = publishers.pub_id
AND pub_name = 'New Age Books';
out:
ERROR 1064 (42000): 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 'FROM titles, publishers WHERE titles.pub_id = publishers.pub_id AND pub_name = '' at line 1