SELECT * FROM gallery where g_slug = '/images/sports-1.jpg/'