string(919) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND tTrack.track_shw_as_single = 1 AND track_active = 1' at line 7


/* FILE: /index.php/1 Thu, 12 Dec 2024 10:10:29 +0000 */
SELECT tTrack.*, tArtist.artist_id, tArtist.artist_name, tLabel.label_id, tLabel.label_name, tTerritory_group.territory_group_name FROM tTrack 
		LEFT JOIN tArtist ON tTrack.track_artist_id = tArtist.artist_id
		LEFT JOIN tLabel ON tTrack.track_label_id = tLabel.label_id
		JOIN tTerritory_group ON  tTrack.track_territory_group_id = tTerritory_group.territory_group_id 
		JOIN lTerritory_country ON tTerritory_group.territory_group_id = lTerritory_country.territory_id 
		JOIN tCountry ON lTerritory_country.country_id = tCountry.country_id 
		WHERE tCountry.worldpay_code = 'GB' AND tTrack.track_id = AND tTrack.track_shw_as_single = 1 AND track_active = 1"