I imported to a MariaDB table a CSV file generated by this tool with all my last.fm scrobbles, the CREATE script is the following:
CREATE TABLE `scrobbles` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`artist` VARCHAR(128) NULL DEFAULT '',
`album` VARCHAR(128) NULL DEFAULT '',
`title` VARCHAR(128) NULL DEFAULT '',
`datahora` DATETIME NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`)
)ENGINE=InnoDB;
I want to know how can i get the most executed tracks (basically the title+artist combo most repeating) of a given year, ordered by the number of plays/scrobbles of each track.