I request your kind support with the following case.
I have this score table as follows:
create table score (idscore int primary key auto_increment,
ndeporte varchar(45),
category varchar(45),
gender varchar(45),
team1 varchar(45),
score1 int,
team2 varchar(45),
score2 int,
team3 varchar(45),
score3 varchar(45)
)
NOW I WANT TO GET THIS RESULT.
I have doubts on how to order my data from my table so that it shows as well as the image.
I request your kind support
I am working on MYSQL 8
Best Answer
Do it directly: