SELECT * FROM images,taxons WHERE images.taxon=taxons.code AND (images.taxon = 968) GROUP BY images.link ORDER BY images.site, taxons.taxon, images.link