【发布时间】:2014-10-09 10:53:32
【问题描述】:
您好,我不确定这是否是一个可以的问题,但是在这里,我对如何制作我的牙图数据库的数据结构感到很困惑。我首先想到了做一个这样的数据结构
teeth_table
teeth_id (Primary key)
teeth_1 (These are 32 tooth)
until teeth_32 (These are 32 tooth)
patient_id (Foreign key connected to the patient table)
我的第二个计划是为每颗牙齿制作一个单独的表格(我猜这会花费很多时间?)
tooth01_table
tooth_id
tooth_name
tooth_condition
tooth_recommendation
tooth_treatment
patient_id
我就是这么想的, 我的计划是制作一个表格,当患者从下拉列表中选择一颗牙齿时,它会显示以下内容
牙齿 |条件 |推荐 |治疗
那么你们认为牙齿图表数据库的好设计是什么?
牙齿图是这样的
http://www.mouthandteeth.com/img/FDI-tooth-numbering-system.gif
【问题讨论】: