Check out example codes for "Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect.". It will help you in understanding the concepts better.

Code Example 1

SET SQL_SAFE_UPDATES = 0;

Code Example 2

UPDATE tablename SET columnname=1;

Learn ReactJs, React Native from akashmittal.com