1) Had to change column types to match (names.uid and specialdays.uid
were different types, due to my inexperience with DB setup)

2) Once I had done that, this did exactly what I wanted:

SELECT sd.day, sd.month, sd.who, names.uid, names.email
FROM specialdays as sd
INNER JOIN names
ON names.uid = sd.uid
WHERE sd.day = 5 AND sd.month = 6;


Big thanks to Nick Middleweek who answered several questions for me!

TjL


ps -- to fool the dumb filter: sql,query




---------------------------------------------------------------------
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