sql query refrence data on a alternate table to change specific values to false
i have 2 tables, the primary table [dbo.subscriber data] has several columns. the columns i need to reference on the primary table are 'AccountID' and 'AcctLineCode'
the other table is [dbo.subscriber Status], it also has the 'AccountID' column as well as the column 'IsRecurring'
i need to change all instances of 'IsRecurring' on [dbo.subscriber Status] to False if it has an 'AccountID' that matches the 'AccountID' from [dbo.subscriber data] that has an 'AcctLineCode' of 'HR' or 'HRS'
I assume i need to use inner join, i have no idea the syntax
set IsRecurring = False
(select 1 from [dbo_subscriber Data] d
where d.AccountID = s.AccountID
and d.AcctLineCode like 'HR_');