I have the following structure in a MySql table:
link
I need to make a select that brings me the maximum number of posts that have a record, for example, at reference 269, bring me to station 4, and at reference 258, bring me up to station 6.
It may be something like MAX, but bring me as many columns as you can with a record of that reference. How can I make this select?