I have list of the column in single table which I want to update to some else.
Table name:HyundaiRaw_New_april
Original:
HART 2008-A
HART 2009-A
HART 2010-A
HART 2010-B
HART 2011-A
HART 2011-B
HART 2011-C
HART 2012-A
HART 2012-B
HART 2012-C
HART 2013-A
I want the above thing to be updated as 'ABC 2008-A'. I want HART to be replaced with "ABC"
I tried updating using the below query
update HyundaiRaw_New_april
set deal='HART 2009-A','HART 2010-A','HART 2010-B'
where DEAL='ABC 2009-A','ABC 2010-A','ABC 2010-B'
and
update HyundaiRaw_New_april
set deal=HART 2009-A,HART 2010-A,HART 2010-B
where DEAL=ABC 2009-A,ABC 2010-A,ABC 2010-B
it does not work
set deal='HART 2009-A','HART 2010-A','HART 2010-B'is invalid SQL