Good morning Friends. I am having a problem in a select in mysql with group by. I have a betting system that generates the post in arrays by recording in the bank each of the odds bet that generates a coupon code q. MY DOUBT IS. How do I get a single record from this group of the same code?