now i have an output like this:
Mon,Fri,0-1; Mon,Fri,1-2; Tue,Fri,2-3;
i want to break it like
Mon:0-1,1-2;
Fri:0-1,1-2,2-3;
using sql query is it possible
Loading
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
Dharmraj ThakurRank #577 · 4.2K reputationPosted Jan 29, 2018, 2:09 AM EST
Dharmraj ThakurRank #577 · 4.2K reputationPosted Jan 29, 2018, 2:11 AM EST
Pooja ChowdhuryRank #3,615 · 403 reputationPosted Jan 29, 2018, 7:34 PM EST
Mon:0,1,1,2,Tue:2,3;7,8;8,9;Wed:5,6,12,13,Thu:Fri:0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,23,Sat:8,9,Sun:
i want to show
Mon:0,1,2,Tue:2,3;7,8,9;Wed:5,6,12,13,Thu:Fri:0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,Sat:8,9,Sun: