How to use group by in update query in sql server
how to use group by in update query in sql server without using join
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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 attend4days leftRegister
Pranay RanaRank #735 · 3.2K reputationPosted Jul 28, 2015, 10:18 PM EDT
Amitesh VermaRank #2,535 · 552 reputationPosted Jul 28, 2015, 10:20 PM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 28, 2015, 10:34 PM EDT
Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 28, 2015, 10:37 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 28, 2015, 11:53 PM EDT
UPDATE Your_table SET name='HIGH' WHERE age IN (SELECT MAX(age) FROM Your_table GROUP BY TYPE);