View Single Post
  #1 (permalink)  
Old Jan 16th, 2007, 17:51
Gurpreet82 Gurpreet82 is offline
Junior Member
Join Date: Mar 2006
Location: uk
Age: 26
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
help with some sql

Hi,

i need some help with a query. Ive got 3 tables, one for the magazin(uid, name, price), subscriber (uid, firstname, lastname) and subscription(personID, magazineuid).

What i want to do is perform a query that lets me show all the names of the magazine in one column and whether or not a specific person is subscribed to that magazine. so it would somethin like this:

mags subscriptions for joe bloggs:

mag name---- subscribed
mag 1 ----------yes
mag 2 ----------yes
mag 3 ----------no
..etc

any ideas?
Reply With Quote