原帖由 超~ 於 2008-11-26 17:45 發表 
唔知我有無諗錯
tblMember
M_Id,Name
資料:
tblMember
1,Ann
2,Peter
3,john
tblMatchItem
MI_Id,Name
資料:
tblMatchItem
1,100米
2,4x100米
tblScore
S_ID,M_ID,MI_Id,score
1,2,2,15s
Select M.Name, MI. ...
咁比賽有好多評分項目
score 個度 點
例如歌唱比賽
member(id,name)
1, peter
match (id ,member_id, name )
1, 1, singcontest
match_item (id , member_id, match_id, name)
1, 1, 1, 唱功
2, 1, 1, 音準
3, 1, 1, 感情
score(id, member_id, match_id, match_item_id, score)
1, 1, 1, 1, 5
2, 1, 1, 2, 10
3, 1, 1, 3, 20
會咁樣? |