HI I need to show a random image from Data base, and it should be from the latest 10 records How can i get it by executing only ONE query? Please help me Regards Anees Muhammed ___________ ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs [Non-text portions of this message have been removed]