Hi I have a table data as below
-
I want to update all department column data consisting "DA" to "DATA ANALYTICS" in a single query. Help me with thisPradeep GN– Pradeep GN2021-01-07 12:25:31 +00:00Commented Jan 7, 2021 at 12:25
-
What have you tried that does not work ?Squirrel– Squirrel2021-01-07 12:26:53 +00:00Commented Jan 7, 2021 at 12:26
-
That's a very simple update with a where - what have you got so far?P.Salmon– P.Salmon2021-01-07 12:27:01 +00:00Commented Jan 7, 2021 at 12:27
-
i have to write 7 update queries to update.for example - update emp set 'department'='DATA ANALYTICS' where pk_id = 1; so on. But is it possible to do with single queryPradeep GN– Pradeep GN2021-01-07 12:30:00 +00:00Commented Jan 7, 2021 at 12:30
-
'i have to write 7 update queries' - errm no..P.Salmon– P.Salmon2021-01-07 12:34:37 +00:00Commented Jan 7, 2021 at 12:34
|
Show 2 more comments
