Hi John
1# REGISTRATION TABLE
studentID
firstName
last name
Date of join
course id
BatchID
2# test Registration Table
1ID
2 student ID
3 TestID
4 DATE
3# Arts table
ArtID
ArtName
4# Batch table
BatchID
BatchName
BatchDays
BatchTime
5# Discipline Table
Shoshin #1 (sub 1,2,3,4,5)
Kihon #1 (sub 1,2,3,4,5)
Nage #3(sub 1,2,3,4,5)
Kumite #3
Jissen #1
Strength (sub 1,2,3,4,5)
Flexibility (sub 1,2,3,4,5)
Stamina (sub 1,2,3,4,5)
(Kungfu)
Traditional Forms
DefensE
Basic Skills
Discipline
Flexibility
Strength
Speed
Punches
Kicks
6# Result table
ResultID
StudentId
TestId
7# Test table
TestId
ArtId
Discipline Id
TestName
8# attendance table
Date
Batch name
Student Name
Attendance Yes/No
Example Result example
Name :jamshi
Date : 1/1/17
Prevouse belt. White
Testing belt :Yellow
Arts : karate
Shoshin #1 (
sub
Shoshin A, Result
Shoshin B, Result
Shoshin C, Result
Shoshin D, Result
Shoshin E, Result)
Kihon
Kihon A, Result
Kihon B, Result
Nage
Kumite
Jissen
Strength
Flexibility
Stamina
Same model Kung fu
Deferent student name only
Sent from Yahoo Mail for iPhone
On Monday, January 30, 2017, 3:48 PM, John Viescas JohnV@msn.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
So, the hierarchy looks like:
KarateStrengthPush UpSquatSit UpBack Sit UpDatchiHAISOKODUYOYKIBAZENetc.GeriMAIYOKOMAWASHIURA MAWASHIUSHIRO
Kung FuStandsTypes of stands …
So, your "results" table needs to look like:
ResultID, StudentID, Date, ArtID (Karate or Kung Fu), DisciplineID (Strength, Datchi, Geri), TestID, Result
Arts table: ArtID, ArtName (Karate or Kung Fu)
Disciplines table: ArtID, DisciplineID, DisciplineName
Tests: ArtID, DisciplineID, TestID, TestName
The Arts, Disciplines, and Tests tables define the hierarchy I've laid out above.
Your Results fields for ArtID, DisciplineID, and TestID pull values from the three hierarchical tables - filtering Discipline for the Art selected and Test for the Discipline and Art selected.
I've just made up names for Art, Discipline, and Test - you can assign names to the levels of the hierarchy that make sense to you.
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 30, 2017, at 12:31 PM, jamshi285 jamshi285 jamshi285@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi John
When we checking Karate Grading test i have to check each students All there flexibility,
Streangth,speed,Datchi,Geri.etc.
each one have sub and there resultsexample:(Strength----->"Push Up";"Squat";"Sit Up";"Back Situp")Result--(Push up result,Squat result,Sit up Result,Back Situp Result)(Datchi---->"HAISOKODU,YOY,KIBA,ZEN,ZEN KUTZU,KOKUTZU,NIKO AISHI)
datchi result
(Geri----->MAI" result;"YOKO" result;"MAWASHI" result;"URA MAWASHI"result;"USHIRO"result)It also same model for kung fu diffrent types of test
Example
standz then will check all types of standz and each one have seperate results
On Sunday, January 29, 2017 5:01 PM, "John Viescas JohnV@msn.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com> wrote:
You originally told me you had these tests:
Shoshin #1
Kihon #1
Nage #3
Kumite #3
Jissen #1
Push up
Sit up
Crunches
Squats
And
3. Traditional Forms
4. DefensE
5. Basic Skills
6. Discipline
7. Flexibility
8. Strength
9. Speed
10. Punches
11. Kicks
You said one is for Karate and the other is for Kung Fu.
Please explain how Geri and Datchi divisions relate to all of this. Are those divisions for Karate or Kung Fu?
Maybe you need: Course (Karate or Kung Fu), Division, Test.
You need to explain to me all the data points you want to capture and how they are related. What is the hierarchy?
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 29, 2017, at 10:00 AM, jamshi285@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi Johnas per your suggestion I created a tables but I am facing some problems
Example If I am going to make a karate student Grading Test
From Course Tests Table : CourseID, TestID, TestName(Geri.........> MAI GERI,YOKO GERI,MAWASHI GERI,URA MAWASHI,USHIRO)these all are sub in Geri division It all has deferent results.
then another test name ((Datchi---->"HAISOKODU,YOY,KIBA,ZEN,ZEN KUTZU,KOKUTZU,NIKO AISHI)like this all field have diffrennt sub names and result
Thanks
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :
Why did you not follow my instructions and include the previous discussion?
It is a bad design to have two "course" tables. It is also not good to have all the different tests listed as columns. Each test should be in its own row - one row per test. I assume you put some sort of grade or number value in for each test. I would suggest tables like this:
Courses: CourseID, CourseName (Karate or Kung Fu)
CourseTests: CourseID, TestID, TestName
Then have a table that records for each student how he or she performed on a given test on a certain date.
StudentTests: StudentID, CourseID, TestID, TestDate, Rating
John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On Jan 28, 2017, at 4:12 PM, jamshi285@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
hi johntable for two different tables for "courses is course 1 is Karate and course 2 is Kung Fu,,it has different types of Grading test.TestID point to Course 1&2
Posted by: jamshi285 jamshi285 <jamshi285@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (16) |
Tidak ada komentar:
Posting Komentar