Hi ,

I was wondering if there was a way to retreive a column_name instead of a
value in an sql select query?

For example if my table has the field    firstname,  lastname, telephone,
movie1, movie2, movie3......


And my first record is                     John        Doe      555-5555
good   bad     bad
My second record is                        Jane          Doe      555-6666     good
good    bad

I would like to know which movies Jane Doe rated "good"'...............Is
this possible and if so how?


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to