Here's my scenario:
I have two tables: PhotoAlbums (Album_ID, Album_Name) and Photos (Photo_ID, Photo_Name, Album_ID).
What I want to do is to display all of the Photo Albums with one randomly chosen photo from each Photo Album.
What SQL should I use to do this? Here's what I have right...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.