SELECT * FROM photos WHERE photo='tomy'