You don’t need the AND
keyword. Here’s the correct syntax of the UPDATE statement:
UPDATE
shop_category
SET
name="Secolul XVI - XVIII",
name_eng = '16th to 18th centuries'
WHERE
category_id = 4768
More Related Contents:
- Why do I get an error from this sub query script?
- sql query to modify the selected value from database [closed]
- how to get similar search results in MySQL?
- How can I SELECT rows with MAX(Column value), PARTITION by another column in MYSQL?
- Can I concatenate multiple MySQL rows into one field?
- Disable ONLY_FULL_GROUP_BY
- SELECT list is not in GROUP BY clause and contains nonaggregated column …. incompatible with sql_mode=only_full_group_by
- How to do the Recursive SELECT query in MySQL?
- MySQL, update multiple tables with one query
- How do I see all foreign keys to a table or column?
- Do different databases use different name quote?
- MySQL case sensitive query [duplicate]
- What does mysql error 1025 (HY000): Error on rename of ‘./foo’ (errorno: 150) mean?
- How do I change the data type for a column in MySQL?
- mysql fulltext search failure
- Adding a leading zero to some values in column in MySQL
- Using SQL to determine word count stats of a text field
- Update one MySQL table with values from another
- MySQL Order before Group by
- Regaining access to lost MySQL password for PHPMyAdmin on WAMP
- Export a MySQL Database to SQLite Database
- “193: %1 is not a valid Win32 application” bug with a new Rails Application
- How to display open transactions in MySQL
- SQL search multiple values in same field
- Removing duplicates with unique index
- MySQL – Select the last inserted row easiest way
- Getting number of rows inserted for ON DUPLICATE KEY UPDATE multiple insert?
- MySQL query, MAX() + GROUP BY
- Convert JSON array in MySQL to rows
- ALTER table – adding AUTOINCREMENT in MySQL