SQL Server 2005 で医療ストアシステムのデータベースは提供できますか?
データベース概要
データベース名: Medical_Store_System
テーブル構成
1. Drugs(薬品)
Drug_ID(int, 主キー)
Drug_Name(文字列)
Generic_Name(文字列)
Dosage_Form(文字列)
Strength(文字列)
Quantity(int)
Unit_Price(decimal)
2. Drug_Types(薬品種別)
Drug_Type_ID(int, 主キー)
Drug_Type_Name(文字列)
3. Customers(顧客)
Customer_ID(int, 主キー)
Customer_Name(文字列)
Phone_Number(文字列)
Address(文字列)
City(文字列)
State(文字列)
Zip_Code(文字列)
4. Prescriptions(処方箋)
Prescription_ID(int, 主キー)
Customer_ID(int, 外部キー)
Drug_ID(int, 外部キー)
Doctor_Name(文字列)
Prescription_Date(datetime)
Quantity(int)
5. Invoices(請求書)
Invoice_ID(int, 主キー)
Customer_ID(int, 外部キー)
Invoice_Date(datetime)
Total_Amount(decimal)
6. Invoice_Details(請求明細)
Invoice_Details_ID(int, 主キー)
Invoice_ID(int, 外部キー)
Drug_ID(int, 外部キー)
Quantity(int)
Unit_Price(decimal)
Amount(decimal)
