prints song stats to SQL database