I am trying to run the UPDATE command in SQL to change the values of certain columns based on a specified ID.
UPDATE Table
SET variable1=300,variable2=600
WHERE ID=platinum;
However, whenever I try to run the query (I am using Libreoffice Base), I get the following error message:
The given command is not a SELECT statement. Only queries are allowed.
I am encountering this problem whenever I try to run a query which does not have a SELECT command. Can anyone provide any input?