Completed Searching my photos by tag
fixed sql statement