Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Posts
    5

    Unanswered: Table within a table. Possible?

    I want to create a textbook classified site, but I'm stuck on pondering on how to implement what I want to do. I have a users table with the all of the users info such as name, password etc, but I also want a table with all the books a user is selling/buying organized by the ISBN. How would I implement the table to accommodate for 100 users selling the same book in the ISBN table? Thanks

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    you need 3 tables:

    - user table
    - book table
    - user_selling_book table
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Dec 2005
    Posts
    5
    Ah. it makes sense now. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •