Hiya,
     Any help would be appreciated!

     Due to various hardware requirements, on our exiting server space is a
 problem not speed. I store a lot of details of members, and have worked out
 that I will save space by storing lastname's, firstname's etc in a seperate
 table.

 e.g.

 lastname table is id and lastname field.
 firstname table is id and firstname field

 My members table then has a field called lastnameid, firstnameid etc. So I
 can do:

 SELECT firstname, lastname FROM members, firstname, lastname WHERE
 firstnameid=firstname.id AND lastnameid=lastname.id

 So as an extension I am whating to include middle names, so in the members
 table I have a collum called middlenameid, how do I do this with a SELECT?

 Thanks,

 Steve

SQL cos I have to include it!


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