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