phpMyAdmin

1,131 views

Published on

phpMyAdmin

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,131
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

phpMyAdmin

  1. 1. Mr.Warawut KhangkhanFacebook:Facebook: http://www.facebook.com/AjWarawut Twitter: http://twitter.com/awarawut E-Mail: awarawut@hotmail.com Mobile: 089-461-9591 089-461-
  2. 2. Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 2
  3. 3. Database Design DeZign for databasesMr.Warawut Khangkhan Chapter 7 phpMyAdmin 3
  4. 4. Data Dictionary Table: tbl_department Attribute Datatype Length Required Unique departmentCode (PK) CHAR 2 Y N departmentItem VARCHAR 80 Y YMr.Warawut Khangkhan Chapter 7 phpMyAdmin 4
  5. 5. Data Dictionary Table: tbl_student Attribute Datatype Length Required Unique studentCode(PK) CHAR 11 Y N prefix VARCHAR 10 Y N student_firstname VARCHAR 50 Y N student_lastname VARCHAR 50 Y N departmentCode (FK) CHAR 2 Y N After create table complete to general database/scriptMr.Warawut Khangkhan Chapter 7 phpMyAdmin 5
  6. 6. Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 6
  7. 7. Create Database 2 utf8_general_ci 3 1Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 7
  8. 8. Import Script SQLMr.Warawut Khangkhan Chapter 7 phpMyAdmin 8
  9. 9. Import Script SQLMr.Warawut Khangkhan Chapter 7 phpMyAdmin 9
  10. 10. Import Script SQL 1 2Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 10
  11. 11. Import Script SQLMr.Warawut Khangkhan Chapter 7 phpMyAdmin 11
  12. 12. Insert Table tbl_department 2 1Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 12
  13. 13. Insert Table tbl_department • Fก • ก FMr.Warawut Khangkhan Chapter 7 phpMyAdmin 13
  14. 14. Insert Table tbl_department • Fก • ก FMr.Warawut Khangkhan Chapter 7 phpMyAdmin 14
  15. 15. Insert Table tbl_departmentMr.Warawut Khangkhan Chapter 7 phpMyAdmin 15
  16. 16. View Table tbl_departmentMr.Warawut Khangkhan Chapter 7 phpMyAdmin 16
  17. 17. SQL Command 1 2 select * from tbl_department; 3Mr.Warawut Khangkhan Chapter 7 phpMyAdmin 17
  18. 18. Delete & EditMr.Warawut Khangkhan Chapter 7 phpMyAdmin 18

×