@RahulVerma Sounds like a valid
tips question. If you want general golfing tips to solve challenges on the site, you can post something titled "Tips for golfing in MySQL". Otherwise, please describe the specific task you want to solve (required), and your best attempt (optional but preferred).