Today i have faced a interview question.
input:
id units
1 100
2 200
1 400
3 800
output:
id units
1 100,400
2 200
3 800
Please help me to write a query with select statement?
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
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 14, 2019, 7:29 AM EST
Dhara Patel108 reputationPosted Nov 14, 2019, 11:34 PM EST
Shahriar NikkhahRank #248 · 10.1K reputationPosted May 5, 2018, 8:12 AM EDT
Shahriar NikkhahRank #248 · 10.1K reputationPosted May 5, 2018, 8:15 AM EDT
Chandru DRank #996 · 2K reputationPosted May 5, 2018, 6:44 AM EDT