Closed Thread
Results 1 to 8 of 8

Thread: Database Relation Help

  1. #1
    ahmed is offline Programming Professional
    Join Date
    Oct 2008
    Posts
    300
    Rep Power
    0

    Database Relation Help

    My database course just started , and i think that i am weak at finding out the relationships from a given statement , and also the number of tables that are to be made , so is there any tutorial or a book to help me understand that thing?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    bigz008 is offline Newbie
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Re: Database Relation Help

    i'm going to let you in on a little secret. Type---> ?intitle:index.of? Name of Book <------Into the google search engine, and you will find a bunch of books which you can download as pdf etc. You can also use this trick for downloading songs etc. So type names like database relations etc, or the name of a really good book you know for beginners etc...

  4. #3
    gokuajmes's Avatar
    gokuajmes is offline Programming God
    Join Date
    Jan 2010
    Location
    India
    Posts
    516
    Blog Entries
    5
    Rep Power
    12

    Re: Database Relation Help

    Please go through these tuts ,these are the best that any noob can go through

    Code:
    http://www.functionx.com/sqlserver/

  5. #4
    Jaan Guest

    Re: Database Relation Help

    SQL Tutorial

    this may help you maybe.. im not sure

  6. #5
    ahmed is offline Programming Professional
    Join Date
    Oct 2008
    Posts
    300
    Rep Power
    0

    Re: Database Relation Help

    thanks for all the post but i think you people are not getting what i asked , i want some tutorial in which their are given examples on how to FIGURE out TABLES ENTITIES and ATTRIBUTES from a given statement

  7. #6
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Database Relation Help

    There probably isn't such a tutorial, though I talked about it in one of my "building a big project" tutorials in the php section. It's very similar to how you figure out what types of variables to use to store data in a program. There isn't a hard guideline/procedure, just a general sense of "this is how the data exists".

    It's similar to designing classes for an OOP solution, only you don't have to worry very much about class methods, just data. Each record in your database will be an "object".
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  8. #7
    ahmed is offline Programming Professional
    Join Date
    Oct 2008
    Posts
    300
    Rep Power
    0

    Re: Database Relation Help

    thanks again , i have a little question that i need to develop a relationship. I am a bit confused
    A university has teachers,students and class rooms . A teacher can teach many courses , A student can study many courses , and a class room can have many classes . I have just studied how to use a primary key as a foreign key in another table , but i tried it but got stuck up . Question is that , can a composite key if i make in a table be used as a foreign key in another table , if so then how to do that?


    I am only having problem with the students can study many courses , where courses is already linked with the teacher table

  9. #8
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Database Relation Help

    You have another object: class. It has a teacher, a class room, and several students.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. combo box drop down value relation between two tabs
    By elizabethmwashuma in forum C# Programming
    Replies: 6
    Last Post: 02-08-2011, 11:31 AM
  2. Relation Between Columns of a same table
    By shivam in forum Database & Database Programming
    Replies: 14
    Last Post: 01-25-2011, 07:20 PM
  3. dynamic row and column relation for a matrix
    By mishraamits in forum C# Programming
    Replies: 0
    Last Post: 05-10-2010, 09:01 AM
  4. Replies: 0
    Last Post: 03-14-2010, 11:42 PM
  5. From E-Relation to Partition???
    By gammaman in forum C and C++
    Replies: 11
    Last Post: 02-13-2009, 05:52 PM

Tags for this Thread

Bookmarks

Posting Permissions

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