There is a table:
How does one query in strings, where thursday replace the value with friday, and in the strings friday value with thurdsday?
With the help of cases:
UPDATE TableName SET day = CASE WHEN day = 'friday' THEN 'thursday' WHEN day = 'thursday' THEN 'friday' END WHERE day IN ('friday','thursday')
Source: https://ru.stackoverflow.com/questions/600036/More articles:Using non-PoD data types in shared memory c ++How to initialize the `std :: array` array with` std :: initializer_list`?How to replace in the text the right words with others in a certain area?QTextBrowser and embedded imagesHow to enable js script only on the main page of the site?How to save data to an array after SELECT *ATM task (solution algorithm)js. var or let?Google spreadsheets: different display of active filters for different users of the spreadsheetTable-elements: take the remaining heightAll Articles