Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134

    access basic query Univ assignment...

    hi there,



    this is embarrassing, but I cannot do this task...

    I created
    1. the student table {StudentID, StudentName}
    2. the course table {CourseID, CourseName, CourseStart, CourseEnd}
    3. the studentcourse table {StudentID, CourseID, Grade}

    I guess this is also wrong...

    Can anyone help me here... I really don't know which is the best way to answer these two questions.

    Cheers!
    Attached Thumbnails Attached Thumbnails Homework3.JPG  

  2. #2
    jwhite is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2012
    Location
    North Carolina
    Posts
    349
    Is this an pre-exam or class assignment?

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,474
    You are close. But look at the Course dates, looks llke they could be different for the same course so do you have the dates in the right table?

  4. #4
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    jwhite... it is an old exam... actually.

  5. #5
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Click image for larger version. 

Name:	01_tblStudent.JPG 
Views:	18 
Size:	17.8 KB 
ID:	28534Click image for larger version. 

Name:	02a_tblCourse.JPG 
Views:	18 
Size:	17.4 KB 
ID:	28535Click image for larger version. 

Name:	02b_tblCourse.JPG 
Views:	19 
Size:	22.3 KB 
ID:	28536Click image for larger version. 

Name:	03a_tblStudentCourseInfo.JPG 
Views:	18 
Size:	22.6 KB 
ID:	28537

    Should the tblStudentCourseInfo have the dates or the tblCourse?
    Attached Thumbnails Attached Thumbnails 03b_tblStudentCourseInfo.JPG  

  6. #6
    jwhite is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2012
    Location
    North Carolina
    Posts
    349
    To the point... Have you been given this as an assignment to complete for a grade? If so, you shouldn't be asking for answers; instead, use all available resources that help you solve the issue - not solve it for you.

  7. #7
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Thanks jwhite for your concern. I already said that is an old exam. Thanks

  8. #8
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,474
    If each course record is unique to a specific course and a course could have different dates, then dates cannot be in that table. So from what it looks like you are right, dates should be in the StudentCourse table.

  9. #9
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Thanks, now I am trying to replicate the query from the exercises...

  10. #10
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Should the tblStudentCourseInfo have the dates or the tblCourse?

    Think about these tables. And answer these questions in simple English, it will help you determine the answer to the question.

    What exactly is a Course? (Think of the attributes of a Course as given in the original .csv file)

    What does tblStudentCourseInfo represent? (Review junction table/linking table)

    Good luck.

  11. #11
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Almost getting there... some advice?

    Attachment 28539Attachment 28540

  12. #12
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Thanks orange... "answer the question in simple English..." hmmm

    I am going to review the junction linking tables. Getting there :-)

  13. #13
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Susy,

    You have made a design based on your assumption/understanding of the original data.
    As Bulzie says IF.....,then . But there may be another solution(s) based on the original data and different assumption(s).

    If you identify your assumptions, and treat these as business facts in your design, then I think you could have different solutions based on the assumptions/facts you make. When you make an assumption and design a database that supports those facts with the given data, you can defend/validate your design.

    This may seem a little nit-picky (and it very well may be), but the original info "and any more to be added in the same format" could be interpreted as:

    -more students, courses and grades , or
    -more fields (teacher, room....times) all in .csv format

    All this to say, write down/record your understanding -- as Bulzie did, then design to those facts.

    Good luck.

  14. #14
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    Hi! This is all very instructive... I am learning alot... Thanks

  15. #15
    Susy is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2014
    Posts
    134
    hmm, still cannot answer question 4... really annoying.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 04-26-2015, 07:01 PM
  2. Assignment
    By Michael_25 in forum Programming
    Replies: 13
    Last Post: 02-17-2015, 06:47 PM
  3. Replies: 3
    Last Post: 05-28-2014, 02:12 PM
  4. Access Assignment
    By IsaacA95 in forum Access
    Replies: 1
    Last Post: 08-28-2013, 01:09 PM
  5. Not lookup, but assignment
    By ArmyLT in forum Database Design
    Replies: 3
    Last Post: 11-17-2011, 02:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums