I am not much of a SQL person, I can create a database, optimize it, drop and ad tables. But my boss would like me to spit out a list of all the images on our site and the corresponding urls. I am sure this can be done with a query string but I have no idea how.

Can anyone give me a hand with this?