|
 |
|
อยากให้แนะว่าจะเก็บค่าในตารางยังไง ใบสั่งซื้อ เก็บข้อมูลหลาย ๆ แถว |
|
 |
|
|
 |
 |
|
กรรม แล้วออกแบบ database มายังไงละครับ 
|
 |
 |
 |
 |
Date :
2009-11-03 10:51:33 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ยังเลยอ่ะ ไม่รู้จะออกแบบยังไงดีอ่ะค่ะ ช่วยออกแบบให้นิดนึงก้อดีนะค่ะ
|
 |
 |
 |
 |
Date :
2009-11-03 11:19:53 |
By :
หยก |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มีข้อมูลอะรัย ก็เก็บฟิวตามนั้นเลยครับ
|
 |
 |
 |
 |
Date :
2009-11-03 11:23:26 |
By :
Sek-Artdrinker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จริงๆแล้วควรจะออกแบบ database ก่อนว่าจะเก็บอะไรบ้าง แล้วค่อยมา สร้างฟอมร์เก็บข้อมูลนะ
|
 |
 |
 |
 |
Date :
2009-11-03 11:25:24 |
By :
tingtongkub |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
สาเหตุเพราะเค้ามีแบบฟอร์มมาแบบนี้อ่ะค่ะ แต่ไม่รุจะเก็บยังไงดี
|
 |
 |
 |
 |
Date :
2009-11-03 11:29:09 |
By :
หยก |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
input , output
ถามคนใช้เค้าว่าเค้าจะเอาอะไร เค้าจะเก็บอะไร
แล้วก็เอาสิ่งนั้นมาสร้าง Table เก็บข้อมูล
อันไหนสัมพันธ์กัน หรือเป็นการเก็บข้อมูลซ้ำซ้อน โดยใช่เหตุ ก็แยกไปอีก Table นึง
แล้วสร้าง Field นึงเชื่อมความสัมพันธ์ของข้อมูลนั้น
เช่น
id,name,address,phone,email
1,P@e,chonburi,99999,[email protected]
id,number_order,remark,date
1,001,in,03/11/2009
1,002,out,03/11/2009
|
 |
 |
 |
 |
Date :
2009-11-03 11:58:41 |
By :
panyapol |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ถ้ายังไม่ได้ทำอะไรเลย มองคร่าวๆ มีหลาย table อยู่ 
|
 |
 |
 |
 |
Date :
2009-11-03 12:01:26 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เหอๆๆ พอจะเริ่มเข้าใจบ้างแล้วนะค่ะ ขอเวลาสร้างฐานข้อมูลก่อนนะค่ะ
|
 |
 |
 |
 |
Date :
2009-11-03 13:05:54 |
By :
หยก |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เครียดมากมาย
|
 |
 |
 |
 |
Date :
2009-11-03 13:17:45 |
By :
หยก |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|