SQL
Update Fare_strategy Set Sales_date_to = ’07-sep-22’
Where Dep_date_to is Not Null and Market_id in
(Select Market_id From Fare_strategy_markets Where Set_type = ‘standard’ );Update Fare_strategy Set Sales_date_to = ’07-sep-22’
Where Dep_date_to is Not Null and Market_id in
(Select Market_id From Fare_strategy_markets Where Set_type = ‘standard’ );Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 22, 2022, 12:38 AM EDT
Try To change like this because in your query you used
’this is not valid so i just change it to'so it's works fineUpdate Fare_strategy Set Sales_date_to = '07-sep-22' Where Dep_date_to is Not Null and Market_id in (Select Market_id From Fare_strategy_markets Where Set_type = 'standard');