select album_name from tbl_album group by album_name having count(image_name ) = 1
select distinct album_name where image_name LIKE '%what you want to compare%'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)