abdullah's picture
Add files using upload-large-folder tool
07594e5 verified
raw
history blame
54.8 kB
1
00:00:21,080 --> 00:00:24,200
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงุญู†ุง ุงู„ู…ุฑุฉ ุงู„ู…ุงุถูŠุฉ ุชูƒู„ู…ู†ุง
2
00:00:24,200 --> 00:00:26,820
ุนู† ุฃู†ูˆุงุน ุงู„ุนู„ุงู‚ุงุช ููŠ ุงู„ ER diagram relationships
3
00:00:26,820 --> 00:00:29,420
ุชูƒู„ู…ู†ุง ุนู† ุงู„ุนู„ุงู‚ุฉ the one to one ูˆ ุนู† ุนู„ุงู‚ุฉ the one
4
00:00:29,420 --> 00:00:32,820
to many ูˆ ุงู„ูŠูˆู… ุจุฏู†ุง ู†ุจุฏุฃ ู…ุน ุนู„ุงู‚ุฉ many to many
5
00:00:32,820 --> 00:00:35,220
ุชูƒู„ู…ู†ุง ููŠ ู†ู‡ุงูŠุฉ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู…ุงุถูŠุฉ ุฃู† ุงู„ุนู„ุงู‚ุฉ many
6
00:00:35,220 --> 00:00:38,440
to many ู…ุด ู…ู…ูƒู† ู†ู…ุซู„ู‡ุง ุฃูˆ ู†ุนู…ู„ู‡ุง representation ููŠ
7
00:00:38,440 --> 00:00:42,380
ุงู„ database ุจุดูƒู„ ุตุญูŠุญ ูˆ ุจุดูƒู„ ู…ุจุงุดุฑ ูู„ุงุฒู… ู†ุชุญูˆู„
8
00:00:42,380 --> 00:00:46,720
ุนู„ูŠู‡ุง ูˆ ู†ุบูŠุฑู‡ุง ู„ู†ูˆุน ุซุงู†ูŠ ู…ู† ุงู„ุนู„ุงู‚ุงุช ู…ุซุงู„ ุนู„ู‰ ุนู„ุงู‚ุฉ
9
00:00:46,720 --> 00:00:49,660
many to many ุนู„ุงู‚ุฉ the student ู…ุน the course ูุนู„ูŠู‹ุง
10
00:00:49,660 --> 00:00:53,720
ุฃู†ุง ุนู†ุฏ ูƒู„ ุทุงู„ุจ ุณุฌู„ ุฃูƒุซุฑ ู…ู† ู…ุณุงู‚ ุฃูƒุซุฑ ู…ู† course ูˆ
11
00:00:53,720 --> 00:00:59,120
ููŠ ู†ูุณ ุงู„ูˆู‚ุช the course ุงู„ูˆุงุญุฏ ููŠู‡ ุฃูƒุซุฑ ู…ู† ุทุงู„ุจ the
12
00:00:59,120 --> 00:01:02,320
structure ุจู‡ุฐุง ุงู„ุดูƒู„ ุจุฏู†ุง ู†ุบูŠุฑู‡ ุงู„ุญู„ ุฃู†ู‡ ุจุฏู†ุง
13
00:01:02,320 --> 00:01:06,900
ู†ุญูˆู„ู‡ ู„ one to many ุจุฃู† ุงุญู†ุง ู†ุฎุชู„ู‚ ูˆ ู†ุตุทู†ุน entity
14
00:01:06,900 --> 00:01:12,530
ุฌุฏูŠุฏุฉ ููŠ ุงู„ูˆุณุท the entity ุงู„ุฌุฏูŠุฏุฉ ู‡ุงูŠ ุจุชุฑุชุจุท
15
00:01:12,530 --> 00:01:15,650
ููŠ ุนู„ุงู‚ุฉ one to many ู…ุน the students ูˆ one to many
16
00:01:15,650 --> 00:01:22,550
ู…ุน the courses ุงู„ู…ุซุงู„
17
00:01:22,550 --> 00:01:26,850
ุงู„ู„ูŠ ูƒุงู† ุนู†ุฏูŠ ุทุจุนู‹ุง ุงู„ student ู…ุน the courses ู„ูˆ ูƒู†ุง
18
00:01:26,850 --> 00:01:30,610
ุจู†ุญูˆู„ู‡ ู„ุดูƒู„ ุฌุฏุงูˆู„ ุณูŠูƒูˆู† ุนู†ุฏูŠ ู‡ุงูŠ the student ุงู„
19
00:01:30,610 --> 00:01:34,670
entity set ุฃูˆ the table ููŠู‡ุง attribute the student
20
00:01:34,670 --> 00:01:38,710
number ูˆ the student name ูˆ the registered courses
21
00:01:38,710 --> 00:01:42,450
ุจุชุงุนุฉ the student ู‡ู†ู„ุงุญุธ ุฃู† ุงู„ุทุงู„ุจ ุงู„ูˆุงุญุฏ ู…ุซู„ู‹ุง
22
00:01:42,450 --> 00:01:47,950
Sally ู…ุณุชุฑุดุฏ ุจุซู„ุงุซ ู…ูˆุงุฏ ุซู„ุงุซ courses ูู‡ู†ุทู„ุน ุนู„ู‰ ุงู„
23
00:01:47,950 --> 00:01:49,610
column ุฃูˆ ุนู„ู‰ the attribute ุชุจุน the registered
24
00:01:49,610 --> 00:01:54,010
courses ู‡ู†ู„ุงู‚ูŠู‡ multi value ุนู„ูŠู‡ ุฃูƒุซุฑ ู…ู† ู‚ูŠู…ุฉ ูˆู‡ุฐุง
25
00:01:54,010 --> 00:01:57,170
ุงู„ูƒู„ุงู… ููŠ the database ู…ู…ู†ูˆุน ู„ุงุฒู… ูƒู„ attribute ูŠูƒูˆู†
26
00:01:57,170 --> 00:02:03,550
ู„ู‡ ูู‚ุท one value only one value ููŠ ุงู„ุฌู‡ุฉ ุงู„ู…ู‚ุงุจู„ุฉ
27
00:02:03,550 --> 00:02:14,160
ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูˆ the course name ูˆ ุงู„ุฑู‚ู… the course ุงู„ุญู„
28
00:02:14,160 --> 00:02:17,360
ุณูŠูƒูˆู† ุฒูŠ ู…ุง ุญูƒูŠู†ุง ุฃู† ู†ุญุท intercept ุฌุฏูŠุฏุฉ ุงุญู†ุง ุจุฏู†ุง
29
00:02:17,360 --> 00:02:20,820
ู†ุฎุชู„ู‚ู‡ุง ุงุญู†ุง ุจุฏู†ุง ู†ุนู…ู„ู‡ุง ุณู†ุณู…ูŠู‡ุง student course
30
00:02:20,820 --> 00:02:25,100
intercept ูˆุธูŠูุชู‡ุง ุณุชุฑุจุท ุนู„ุงู‚ุฉ one to many ู…ุน ุงู„
31
00:02:25,100 --> 00:02:30,460
courses ูˆ one to many ู…ุน the students ุงู„ุนู„ุงู‚ุฉ
32
00:02:30,460 --> 00:02:35,500
ุงู„ุฌุฏูŠุฏุฉ ู‡ุงูŠ ุณู†ุถูŠู ุนู„ูŠู‡ุง ุฑู‚ู… ุงู„ุทุงู„ุจ the student
33
00:02:35,500 --> 00:02:41,440
number ูƒ foreign key ุณู†ุถูŠู ุนู„ูŠู‡ุง the course number
34
00:02:41,440 --> 00:02:45,620
ุฃูŠุถู‹ุง
35
00:02:45,620 --> 00:02:55,640
ูƒ foreign key ูˆ ุงู„ุงุซู†ูŠู† ู…ุน ุจุนุถ combined primary key
36
00:02:56,980 --> 00:03:00,400
ู‡ุฐุง ู‡ูˆ ุงู„ุญู„ ุงู„ุฐูŠ ุณูŠูƒูˆู† ุนู†ุฏูŠ ุทุจุนู‹ุง ุจู…ุง ุฃู†ู‡ ู‡ุฐู‡ ุงู„
37
00:03:00,400 --> 00:03:03,780
entity ุงู„ุฌุฏูŠุฏุฉ ุชุนุชู…ุฏ ููŠ ูˆุฌูˆุฏู‡ุง ุนู„ู‰ the student ูˆุนู„ู‰
38
00:03:03,780 --> 00:03:07,520
the course ููŠ ุงู„ุฃุตู„ ุบูŠุฑ ู…ูˆุฌูˆุฏุฉ ุงุญู†ุง ุงุฎุชู„ู‚ู†ุงู‡ุง ูู‡ูŠ
39
00:03:07,520 --> 00:03:11,700
ุนุจุงุฑุฉ ุนู† weak entity ุชุชุฐูƒุฑูˆู† ู„ู…ุง ุชูƒู„ู…ู†ุง ุนู† the weak
40
00:03:11,700 --> 00:03:14,740
entity ูˆ the strong entity ุญูƒูŠู†ุง the weak entity ุบูŠุฑ
41
00:03:14,740 --> 00:03:17,860
ู…ูˆุฌูˆุฏุฉ ุจุฐุงุชู‡ุง ููŠ the database ุจู‚ุฏุฑ ู…ุง
42
00:03:17,860 --> 00:03:22,620
ู‡ูŠ ู…ุชุนู„ู‚ุฉ ุจ strong entity ูุงู„ุขู† the student course
43
00:03:22,620 --> 00:03:25,180
entity set ุงู„ุฌุฏูŠุฏุฉ ุงู„ุชูŠ ุฃุถูู†ุงู‡ุง ุนุดุงู† ู†ุญู„ ู…ุดูƒู„ุฉ ุงู„
44
00:03:25,180 --> 00:03:28,600
many to many relationship the entity ุงู„ุฌุฏูŠุฏุฉ ู‡ูŠ
45
00:03:28,600 --> 00:03:32,160
ุนุจุงุฑุฉ ุนู† weak entity ุนุดุงู† ู‡ูŠูƒ ุณุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠ ููŠ
46
00:03:32,160 --> 00:03:36,680
double rectangle ู„ุงุญุธูˆุง ู…ุณุชุทูŠู„ ู‡ูŠ ู…ูˆุฌูˆุฏุฉ ููŠู‡
47
00:03:36,680 --> 00:03:52,100
double ุบูŠุฑ ู…ุซู„ the student ุฃูˆ ุบูŠุฑ ู…ุซู„ the course ุชูุงุตูŠู„
48
00:03:52,100 --> 00:03:57,760
the entities ุงู„ุชูŠ ุนู†ุฏูŠ the student ุณูŠูƒูˆู† ููŠ ุนู†ุฏูŠ
49
00:03:57,760 --> 00:04:01,060
student number ู‡ูˆ the primary key ุณูŠู„ุงุญุธ ุฃู† ุชุญุชู‡
50
00:04:01,060 --> 00:04:05,300
ู…ุงุฐุง ููŠู‡ underline ููŠ ุฎุท ู‡ูˆ the primary key ููŠ ุนู†ุฏูŠ
51
00:04:05,300 --> 00:04:09,380
the student name attribute ุซุงู†ูŠ ุงุณู… ุงู„ุทุงู„ุจ ููŠ ุนู†ุฏูŠ
52
00:04:09,380 --> 00:04:13,710
the course ูˆ the course code ุฃูˆ course number ูˆ course
53
00:04:13,710 --> 00:04:16,810
name ูˆ ุฃูŠุถู‹ุง the course code ุฃูˆ course number ู‡ูˆ ู…ุงุฐุง
54
00:04:16,810 --> 00:04:20,710
ู‡ูˆ the primary key ุชุจุน the course ุงู†ุชู‡ูŠู†ุง ู…ู† ุงู„ุงุซู†ูŠู† ู‡ุฐูˆู„
55
00:04:20,710 --> 00:04:22,790
ุจุฏู†ุง ู†ุฌูŠ ุนู„ู‰ the intercept ุงู„ุฌุฏูŠุฏุฉ ุงู„ุชูŠ ุงุญู†ุง
56
00:04:22,790 --> 00:04:27,230
ุนู…ู„ู†ุงู‡ุง the student course ู„ุงุญุธูˆุง ุฃุถูู†ุง the student
57
00:04:27,230 --> 00:04:33,630
number ุฌุจู†ุงู‡ ูƒ foreign key ูˆ ุฌุจู†ุง the course code
58
00:04:33,630 --> 00:04:39,080
ุฃูˆ course number ูƒ foreign key ูˆุงู„ุงุซู†ูŠู† ู…ุน ุจุนุถ
59
00:04:39,080 --> 00:04:42,940
ุชุญุชู‡ุง ุฎุท ูŠุนู†ูŠ ุงู„ุงุซู†ูŠู† ู…ุน ุจุนุถ ู‡ู…ุง the primary key
60
00:04:42,940 --> 00:04:46,680
ูˆุงุญุฏ ู„ุญุงู„ู‡ ู…ุง ูŠุดูƒู„ ุนู†ุฏูŠ the primary key ููŠ the table
61
00:04:46,680 --> 00:04:53,080
ุงู„ุฌุฏูŠุฏ ุฃูˆ ููŠ the entity set ุงู„ุฌุฏูŠุฏุฉ ุทุจุนู‹ุง ูƒู„ู…ุฉ
62
00:04:53,080 --> 00:04:55,660
student number references student ูŠุนู†ูŠ foreign key
63
00:04:55,660 --> 00:04:57,660
ูŠุนู†ูŠ ูˆุธูŠูุฉ the foreign key ู‡ูˆ ุงู„ุฐูŠ ูŠุนู…ู„ ุงู„
64
00:04:57,660 --> 00:05:01,720
referencing ู„ the table ุงู„ุซุงู†ูŠุฉ ุฃูˆ ู„ the entity set
65
00:05:01,720 --> 00:05:09,550
ุงู„ุซุงู†ูŠุฉ ูˆุฒูŠ ู…ุง ุญูƒูŠู†ุง ู†ุณู…ูŠู‡ combined primary key
66
00:05:09,550 --> 00:05:16,030
combined primary key ูŠุนู†ูŠ ู„ูˆ ุฃุชูŠู†ุง ุณุคุงู„ true and
67
00:05:16,030 --> 00:05:20,530
false ููŠ quiz ููŠ ุงู…ุชุญุงู† many to many relationships
68
00:05:20,530 --> 00:05:25,650
are not allowed in database design so we have to
69
00:05:25,650 --> 00:05:31,170
use combined primary key in a new entity set true
70
00:05:31,170 --> 00:05:37,590
ุชู…ุงู… the optionality
71
00:05:38,800 --> 00:05:42,300
ุฃุญูŠุงู†ู‹ุง ุจุนุถ ุงู„ relations ุชูƒูˆู† ุงู„ุนู„ุงู‚ุฉ ุจูŠู†ู‡ู…
72
00:05:42,300 --> 00:05:46,440
optional ุบูŠุฑ ุฃุณุงุณูŠุฉ ุบูŠุฑ ุถุฑูˆุฑูŠุฉ ู…ุซุงู„ the employee ู…ุน
73
00:05:46,440 --> 00:05:50,980
the car ูˆูƒุงู„ุฉ ุงู„ุบูˆุซ ู…ุซู„ู‹ุง ููŠ ุนู†ุฏู‡ุง ู…ูˆุธููŠู† ูˆ ุนู†ุฏู‡ุง
74
00:05:50,980 --> 00:05:56,700
ุณูŠุงุฑุงุช ู‡ู„ ูƒู„ ู…ูˆุธู ูŠุฃุฎุฐ ุณูŠุงุฑุฉุŸ ู„ุง optional ุงู„ู…ูˆุถูˆุน
75
00:05:56,700 --> 00:05:59,660
ู…ู…ูƒู† ุงู„ู…ูˆุธู ูŠุฃุฎุฐ ุณูŠุงุฑุฉ ุญุณุจ ุทุจูŠุนุฉ ุดุบู„ู‡ ูˆ ู…ู…ูƒู† ู„ุง
76
00:06:00,550 --> 00:06:05,410
ุงู„ุนู„ุงู‚ุฉ ู‡ูŠ ู†ุนุจุฑ ุนู†ู‡ุง ุจุงู„ุฅุดุงุฑุฉ the O ููŠ ุฌู‡ุฉ ุงู„
77
00:06:05,410 --> 00:06:09,730
optional the employee optionally ู…ู…ูƒู† ูŠ drive the
78
00:06:09,730 --> 00:06:14,250
car ุงู„ูƒู„ุงู…
79
00:06:14,250 --> 00:06:17,010
ู‡ุฐุง ู„ู…ุง ุฃุฑูŠุฏ ุฃู† ุขุชูŠ ุฃุทู„ุน ุนู„ู‰ ุชูุงุตูŠู„ the entities ุจุชุงุนุฉ
80
00:06:17,010 --> 00:06:18,670
the employee ูˆ ุจุชุงุนุฉ the car ูˆ ุฃุดูˆู the attributes
81
00:06:18,670 --> 00:06:21,470
ุณุงุนุชู‡ู… ุณุฃุฌุฏ ุฃู† ุงู„ุฐูŠ ุนู†ุฏ the employee ููŠู‡ุง staff
82
00:06:21,470 --> 00:06:24,550
number ุฃูˆ ุฑู‚ู… the employee ูŠุนู†ูŠ the employee number
83
00:06:24,550 --> 00:06:30,470
ููŠ ุนู†ุฏู‡ ุงุณู… ูˆ address ููŠ ุงู„ู…ู‚ุงุจู„ ุงู„ุณูŠุงุฑุฉ ููŠ ู„ู‡ุง
84
00:06:30,470 --> 00:06:32,870
registration number ูˆ ู‡ูˆ the primary key ุฑู‚ู…
85
00:06:32,870 --> 00:06:38,650
ุงู„ุณูŠุงุฑุฉ ุฑู‚ู… ุฑุฎุตุฉ ุงู„ุณูŠุงุฑุฉ ููŠ the staff number ุฑู‚ู…
86
00:06:38,650 --> 00:06:47,650
ุงู„ู…ูˆุธู ุงู„ุฐูŠ ูŠู…ุชู„ูƒ ุงู„ุณูŠุงุฑุฉ ุฃูˆ ูŠู‚ูˆุฏู‡ุง ุฃูˆ ุจุณูˆู‚ู‡ุง ููŠ
87
00:06:47,650 --> 00:06:51,210
ุนู†ุฏูŠ ู…ุตู†ุนูŠุชู‡ุง the make ูˆ the model ุชุจุนู‡ุง ู…ูˆุฏูŠู„ู‡ุง
88
00:06:51,210 --> 00:06:59,490
ุณูŠุงุฑุฉ ู†ูŠุณุงู† ุชูˆูŠูˆุชุง ููŠุงุช ู…ุฑุณูŠุฏุณ ูˆ the model ุชุจุนู‡ุง ูˆ
89
00:06:59,490 --> 00:07:02,530
ู„ุงุญุธูˆุง ุฃู†ู‡ ุงุฎุชุงุฑ ููŠ the design ุฃู† ูŠุญุท the primary
90
00:07:02,530 --> 00:07:06,170
key ุชุจุน the employee ูƒ foreign key ุนู†ุฏ the car ุบูŠุฑ
91
00:07:06,170 --> 00:07:11,630
ุงู„ุนูƒุณ ู…ุง ุฌุงุจุด registration number ูˆ ุญุทู‡ ุนู†ุฏ ุงู„
92
00:07:11,630 --> 00:07:15,670
employee ูƒ foreign key ุจู…ุนู†ู‰ ุฃู†ู†ุง ุฏุงุฆู…ู‹ุง ู†ุฃุฎุฐ
93
00:07:15,670 --> 00:07:19,850
the primary key ุชุจุน ุงู„ุนู„ุงู‚ุฉ ุงู„ intel 6 ุงู„ุฃูˆู„ู‰ ูˆ
94
00:07:19,850 --> 00:07:24,970
ู†ุถุนู‡ ุนู†ุฏ ุฌู‡ุฉ the optional ููŠ ุงู„ุฌู‡ุฉ ุงู„ุชูŠ ููŠู‡ุง ุงู„
95
00:07:24,970 --> 00:07:29,800
optional ู„ู…ุงุฐุง ู‡ุฐุง ุงู„ูƒู„ุงู… ู†ุนู…ู„ู‡ุŸ ุตูˆุฑ ู„ู‡ ูˆุนู…ู„ู†ุง ุงู„ุนูƒุณ
96
00:07:29,800 --> 00:07:36,340
ูƒุงู† ุนู†ุฏูŠ ุงู„ู…ูˆุธููŠู† ูˆ ุจุนุฏ the address ุญุทูŠุช ู„ู‡ ู‡ูˆ ุงู„
97
00:07:36,340 --> 00:07:40,760
car number ุฑู‚ู…
98
00:07:40,760 --> 00:07:44,940
ุงู„ุณูŠุงุฑุฉ ุงู„ู…ูˆุธู ุงู„ุฐูŠ ุนู†ุฏู‡ ุณูŠุงุฑุฉ ุณู†ุญุท ู„ู‡ ุฑู‚ู… ุณูŠุงุฑุชู‡
99
00:07:44,940 --> 00:07:50,720
ู…ุน ุฑู‚ู…ู‡ ู…ุน ุงุณู…ู‡ ู…ุน ุนู†ูˆุงู†ู‡ ุทุจ ุงู„ุฐูŠ ู…ุง ุนู†ุฏู‡ุด ุณูŠุงุฑุฉ ููŠ
100
00:07:50,720 --> 00:07:55,510
the car number ู…ุงุฐุง ุณู†ุญุท ู„ู‡ุŸ ูุฑุงุบ ูุงุถู ุทูŠุจ ุณูŠุตุจุญ ุนู†ุฏ
101
00:07:55,510 --> 00:07:58,590
the ุฌุฏูˆู„ ุฃูˆ the table ุชุจุน ุงู„ู…ูˆุธููŠู† ููŠู‡ ูุฑุงุบุงุช ูƒุซูŠุฑุฉ
102
00:07:58,590 --> 00:08:03,490
ู„ุฃู† ููŠู‡ ู…ูˆุธููŠู† ูƒุซูŠุฑูŠู† ู…ุง ุนู†ุฏู‡ู…ุด ุณูŠุงุฑุงุช ุจูŠู†ู…ุง ููŠ ุงู„ุญู„
103
00:08:03,490 --> 00:08:07,790
ู‡ุฐุง ุฃู†ู‡ ู„ู…ุง ุญุท ู‡ูˆ ุฑู‚ู… ุงู„ู…ูˆุธู ุนู†ุฏ ุงู„ุณูŠุงุฑุฉ ู‡ูƒุฐุง ูŠุถู…ู†
104
00:08:07,790 --> 00:08:10,430
ุฃู† ู…ุง ูŠูƒูˆู†ุด ููŠู‡ ูุฑุงุบุงุช ู„ุฃู† ูƒู„ ุณูŠุงุฑุฉ ู„ุงุฒู… ูŠูƒูˆู† ููŠ
105
00:08:10,430 --> 00:08:16,560
ูˆุงุญุฏ ูŠู‚ูˆุฏู‡ุง ุฃูˆ ูŠุณูˆู‚ู‡ุง ุบูŠุฑ ุณุชู…ุดูŠ ู„ุญุงู„ู‡ุง ุงู„ุณูŠุงุฑุฉ ู‡ูƒุฐุง
106
00:08:16,560 --> 00:08:18,740
ูˆ ูŠุถู…ู† ุฃู† ููŠ the table ุฃูˆ ููŠ the ุฌุฏูˆู„ ุงู„ุฐูŠ ุนู†ุฏูŠ ููŠ
107
00:08:18,740 --> 00:08:22,080
the instance ุงู„ุฐูŠ ุนู†ุฏูŠ ู…ุง ููŠุด attribute ูุงุฑุบ the
108
00:08:22,080 --> 00:08:28,740
attribute ุงู„ูุงุฑุบ ููŠ the database ู†ุณู…ูŠู‡ none ุฃู†ุง
109
00:08:28,740 --> 00:08:33,340
ู‡ูƒุฐุง ุฃุฎู„ุต ู…ู† the null attribute value ู…ุง ูŠูƒูˆู†ุด ููŠ
110
00:08:33,340 --> 00:08:37,780
ุนู†ุฏูŠ values ุจู‚ูŠู…ุฉ none ูˆู‡ุฐุง ูŠุฎูู ู…ู† the data
111
00:08:37,780 --> 00:08:39,380
redundancy ุนู†ุฏูŠ ููŠ the design
112
00:08:44,730 --> 00:08:47,450
ุญุงู„ุฉ ุซุงู†ูŠุฉ ู†ูุณ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ู„ูˆ ุตุงุฑุช the
113
00:08:47,450 --> 00:08:52,770
optionality ุนู„ู‰ ุงู„ุทุฑููŠู† ุจู…ุนู†ู‰ ุฃู†ุง ุนู†ุฏูŠ ู…ูˆุธููŠู† ู…ู…ูƒู†
114
00:08:52,770 --> 00:08:57,150
ูŠูƒูˆู† ู„ู‡ู… ุณูŠุงุฑุงุช ู„ูƒู† ุฃูŠุถู‹ุง ูŠูƒูˆู† ุนู†ุฏูŠ ุณูŠุงุฑุงุช ู…ุง ููŠุด
115
00:08:57,150 --> 00:08:59,950
ุงู„ู„ู‡ู… drivers ุณูŠุงุฑุงุช ุฌุงูŠุฉ ุฌุฏูŠุฏุฉ ูˆ ุญุงุทูŠู†ุงู‡ุง ููŠ
116
00:08:59,950 --> 00:09:02,970
the ู…ุฎุฒู† ูˆ ู„ุณู‡ ู…ุง ุชูˆุฒุนุชุด ูˆ ุบูŠุฑ ู…ุนุฑูˆู ู…ู† ุงู„ุฐูŠ ุจุฏู‡
117
00:09:02,970 --> 00:09:08,570
ูŠุฃุฎุฐู‡ุง ูุนู†ุฏูŠ ุณูŠุงุฑุงุช ู…ุง ููŠุด driver ู…ุซู„ ู…ุง ุนู†ุฏูŠ ู…ูˆุธููŠู†
118
00:09:08,570 --> 00:09:13,220
ู…ุง ู„ู‡ู…ุด ุณูŠุงุฑุงุช ุฅุฐุง ุตุงุฑุช optional ุนู„ู‰ ุงู„ุทุฑููŠู† ุงู„ุนู„ุงู‚ุฉ
119
00:09:13,220 --> 00:09:17,900
ู‡ุฐู‡ ุฃูŠุถู‹ุง ุบูŠุฑ ู…ู…ูƒู† ู†ู…ุซู„ู‡ุง ููŠ the database ุฅู„ุง ู†ุบูŠุฑ
120
00:09:17,900 --> 00:09:23,740
ุนู„ูŠู‡ุง ุงู„ุขู† ุงู„ููƒุฑุฉ ุงู„ุญู„ ุชุจุน the optional
121
00:09:23,740 --> 00:09:28,440
relationship ุงู„ุญู„ ุชุจุนู‡ุง ู†ูุณ ุญู„ the many to many
122
00:09:28,440 --> 00:09:31,660
relation ููŠ ุญุงู„ุฉ the many to many relationship
123
00:09:31,660 --> 00:09:36,540
ุฌุจู†ุง linked intercept ูˆูˆุถุนู†ุงู‡ุง ููŠ ุงู„ูˆุณุท ู†ูุณ ุงู„ุดูŠุก
124
00:09:36,540 --> 00:09:40,860
ููŠ ุญุงู„ุฉ the optional ุณู†ุฃุชูŠ linked intercept ูˆู†ุถุนู‡ุง
125
00:09:40,860 --> 00:09:47,540
ููŠ ุงู„ูˆุณุท ูˆ ุณู†ุฃุชูŠ the key the primary key ุชุจุน the car ูˆ
126
00:09:47,540 --> 00:09:50,620
the primary key ุชุจุน the employee ูˆ ู†ุถุนู‡ู… ูƒ foreign
127
00:09:50,620 --> 00:09:53,740
keys ุฃูŠู† ููŠ the table ุงู„ุฌุฏูŠุฏ ุฃูˆ the entry set
128
00:09:53,740 --> 00:09:58,740
ุงู„ุฌุฏูŠุฏุฉ ูˆ ูŠูƒูˆู†ูˆุง ุงู„ุงุซู†ูŠู† ู…ุน ุจุนุถ combined ุจู…ุซุงุจุฉ ุงู„
129
00:09:58,740 --> 00:10:02,300
primary key ูŠุนู†ูŠ exactly ู†ูุณ the solution ุงุณุชุฎุฏู…ู†ุงู‡
130
00:10:02,300 --> 00:10:05,980
ู„ุนู„ุงุฌ ู…ุดูƒู„ุฉ the many to many relationship ู†ูุณ
131
00:10:05,980 --> 00:10:09,980
ุงู„ุดูŠุก ููŠ ุญุงู„ุฉ the optionality ุงุญู†ุง ุงู„ู…ุซุงู„ ุงู„ุฐูŠ ูƒุงู†
132
00:10:09,980 --> 00:10:18,750
ุนู†ุฏู†ุง ูƒุงู† ุนู†ุฏู†ุง employee ูˆููŠ relationship ุจูŠู†ู‡ ุจูŠู†
133
00:10:18,750 --> 00:10:24,190
the car ุงู„
134
00:10:24,190 --> 00:10:26,930
relation ุงู„ุชูŠ ู‡ูŠ drop ูƒุงู†ุช ุงู„ุนู„ุงู‚ุฉ ุนุจุงุฑุฉ ุนู† many
135
00:10:26,930 --> 00:10:35,370
ุฃุณู one to many one
136
00:10:35,370 --> 00:10:39,510
to one ูˆ ู‡ุฐู‡ ุงู„ุฌู‡ุฉ ููŠู‡ุง optionality ุทูˆุฑู†ุง ุงู„ู…ุซุงู„
137
00:10:39,510 --> 00:10:44,370
ูˆุนู…ู„ู†ุง optionality ุนู„ู‰ ุงู„ุทุฑููŠู† ุนู…ู„ู†ุง the optionality
138
00:10:44,370 --> 00:10:49,290
ุนู„ู‰ ุงู„ุทุฑููŠู† the solution ุนู†ุฏู†ุง ุณูŠูƒูˆู† ุฃู† ู†ุฌูŠุจ
139
00:10:49,290 --> 00:10:56,190
entity ุฌุฏูŠุฏุฉ ูˆ
140
00:10:56,190 --> 00:11:02,050
ู†ุถูŠูู‡ุง ููŠ ุงู„ูˆุณุท ุณู…ูŠู†ุงู‡ุง drives the employee ู„ู‡
141
00:11:02,050 --> 00:11:06,050
number ุงู„ู€ car ู„ู‡ registration number ูˆ ู„ุงุญุธูˆุง
142
00:11:06,050 --> 00:11:09,710
ุญุฐูู†ุง ุฑู‚ู… ุงู„ู…ูˆุธู ู…ู† ุนู†ุฏ ุงู„ู€ car ููŠ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚
143
00:11:11,670 --> 00:11:18,510
ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ูƒุงู† ุนู†ุฏู†ุง ุฑู‚ู… ุงู„ู…ูˆุธู ู…ูˆุฌูˆุฏ ู‡ุฐู‡ ุงู„ู€
144
00:11:18,510 --> 00:11:20,630
registration number ูˆู‡ุฐู‡ ุงู„ู€ staff number ุฑู‚ู…
145
00:11:20,630 --> 00:11:28,550
ุงู„ู…ูˆุธู ู‡ุฐู‡
146
00:11:28,550 --> 00:11:32,290
ุฑู‚ู… ุงู„ู…ูˆุธู ู„ุฃู† ููŠ ุงู„ุญุงู„ุฉ ุงู„ุซุงู†ูŠุฉ ุดูŠู„ู†ุงู‡ ุจุทู„
147
00:11:32,290 --> 00:11:36,830
foreign key ุนู†ุฏ ุงู„ู€ car ู„ุฃู† ุฑู‚ู… ุงู„ู…ูˆุธู ุจูŠุฌูŠ ู…ู† ุงู„ู€
148
00:11:36,830 --> 00:11:39,330
employee ูƒ primary key ุจูŠุฌูŠ ูƒ foreign key ููŠ ุงู„ู€
149
00:11:39,330 --> 00:11:45,620
entity setุงู„ุฌุฏูŠุฏุฉ ุงู„ู€ drives staff number ูˆุฑู‚ู…
150
00:11:45,620 --> 00:11:48,380
ุงู„ุณูŠุงุฑุฉ ุจุฏู‡ ูŠูŠุฌูŠ ูƒู…ุงู† ูƒ foreign key ูˆุงู„ุงุชู†ูŠู† ู…ุน
151
00:11:48,380 --> 00:11:52,660
ุจุนุถ combined ุจุฏู‡ู… ูŠู…ุซู„ูˆุง ุงู„ู€ primary key ุชุจุน ุงู„ู€
152
00:11:52,660 --> 00:12:00,680
drives ุงู†ุช ุณุช
153
00:12:00,680 --> 00:12:05,500
ุงู„ุฌุฏูŠุฏุฉ ู‡ุงูŠ ู‡ุชูƒูˆู† ููŠ ุงู„ุฌุฏูˆู„ ู‡ูŠูƒูˆู†
154
00:12:05,500 --> 00:12:10,300
ุงุณู… ุงู„ู€ ุงู†ุช ุณุช drives ู‡ุชูƒูˆู† ุจุณ two attributes ููŠู‡ุง
155
00:12:11,780 --> 00:12:15,960
staff number ูˆ
156
00:12:15,960 --> 00:12:22,600
car number ูƒู„ ู…ูˆุธู ุจูŠู‚ูˆุฏ ุณูŠุงุฑุฉ ุจู†ุญุท ุฑู‚ู…ู‡ ูˆ ุฑู‚ู…
157
00:12:22,600 --> 00:12:26,260
ุงู„ุณูŠุงุฑุฉ ุงู„ู…ูˆุธู ุงู„ู„ูŠ ุจุนุฏู‡ ุฑู‚ู…ู‡ ูˆ ุฑู‚ู… ุณูŠุงุฑุชู‡ ุฑู‚ู…ู‡ ูˆ
158
00:12:26,260 --> 00:12:27,600
ุฑู‚ู… ุงู„ุณูŠุงุฑุฉ ู…ุฑุจูˆุทูŠู†
159
00:12:32,660 --> 00:12:35,360
ู‡ุฐุง ู…ุฑุจูˆุท ู…ุน ุงู„ู€ employee ู…ู† ุฎู„ุงู„ ุงู„ุฑู‚ู… ู„ู…ุง ุจุฏุฃ
160
00:12:35,360 --> 00:12:41,180
ุฃุนุฑู ุงู„ู…ูˆุธู ุนู„ูŠู‡ ุฃูŠ ุณูŠุงุฑุฉ ุจูŠู‚ูˆุฏ ู…ุจุงุดุฑุฉ ุจุฌูŠุจ ุฑู‚ู…ู‡
161
00:12:41,180 --> 00:12:45,000
ุจุงุณุชุนู„ู… ุนู†ู‡ ููŠ ุงู„ู€ table ู‡ุงุฏ ู‡ูŠ ุฑู‚ู… ุนู„ูŠู‡ ู…ุจุงุดุฑุฉ
162
00:12:45,000 --> 00:12:48,660
ุจุนุฑู ุงู† ู‡ูŠ ุฑู‚ู… ุงู„ุณูŠุงุฑุฉ ุงู„ู„ูŠ ู‡ูˆ ุจูŠู‚ูˆุฏู‡ุง ุจุฏุฃ ุฃุนุฑู
163
00:12:48,660 --> 00:12:52,400
ู…ุนู„ูˆู…ุงุช ุนู† ุงู„ุณูŠุงุฑุฉ ุจุงุฎุฏ ุฑู‚ู… ุงู„ุณูŠุงุฑุฉ ูˆ ุจุงุณุชุนู„ู… ููŠ
164
00:12:52,400 --> 00:12:57,320
ุงู„ู€ table ุชุจุน ุงู„ู€ car ุจุนุฑู ู…ุซู„ุง ู„ูˆู†ู‡ุง ุจุนุฑู ู…ู† ุฃูŠ
165
00:12:57,320 --> 00:13:07,050
ุดุฑูƒุฉ ุจุนุฑู ุณู†ุฉ ุฅู†ุชุงุฌู‡ุง ูˆ ู‡ูƒุฐุง ููŠ ุดูŠุก ุตุนุจุŸ ู‡ุฐู‡
166
00:13:07,050 --> 00:13:11,370
ุนู„ุงู‚ุฉ ุงู„ู€ two-side optionality ุญู„ู†ุงู‡ุง ุจู€ linked
167
00:13:11,370 --> 00:13:14,890
entity ูˆ ุทุจุนุง linked entity ุฏุงุฆู…ุง ุจุชูƒูˆู† weak ูˆ
168
00:13:14,890 --> 00:13:23,090
ุจู†ุญุท ุนู„ูŠู‡ุง double rectangles ุงู„ู€ recursive ุงู„ู€
169
00:13:23,090 --> 00:13:26,970
recursive ุฃู† ุงู„ุนู„ุงู‚ุฉ ุชูƒูˆู† ุจูŠู† ุงู„ู€ entity set ูˆ
170
00:13:26,970 --> 00:13:30,870
ู†ูุณู‡ุง ุดุฑุญู†ุง ู…ุซุงู„ ุณุงุจู‚ ุนู„ูŠู‡ุง ุงู„ู„ูŠ ู‡ูˆ ู†ูุณ ุงู„ู…ุซุงู„ ู‡ุฐุง
171
00:13:30,870 --> 00:13:34,470
ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ employee ุฅุฐุง ุจูŠู‚ุฏู… ุชู‚ุฑูŠุฑ reports to ุฃูˆ
172
00:13:34,470 --> 00:13:38,870
supervised by ู„ู‡ ู…ุฏูŠุฑุŒ ู„ู‡ ู…ุดุฑูุŒ ู…ุดุฑู ู„ู„ู€
173
00:13:38,870 --> 00:13:43,470
employeeุŒ employee ูˆุงู„ู…ูˆุธู ู„ู…ุง ุจูŠู‚ุฏู… ุชู‚ุฑูŠุฑุŒ ุจูŠู‚ุฏู…ู‡
174
00:13:43,470 --> 00:13:49,890
ุจุฑุถู‡ ู„ู€ employee ุฒูŠู‡ ู‚ุฏู…ุด ู‡ูˆ ู„ู€ student ู…ุซู„ุง ู†ูุณ
175
00:13:49,890 --> 00:13:54,370
ุงู„ุดูŠุก ุงู„ุฏูƒุชูˆุฑ ู„ู…ุง ุจุฏู‡ ูŠุชุนุงู„ุฌ ุงู„ุฏูƒุชูˆุฑ ุจูŠุนุงู„ุฌ
176
00:13:54,370 --> 00:14:00,130
ุงู„ุฏูƒุชูˆุฑ ู…ุด ู‡ูŠุฑูˆุญ ูŠุชุนุงู„ุฌ ุนู†ุฏ patient ูู‡ูŠ ุนู„ุงู‚ุฉ ุนู„ู‰
177
00:14:00,130 --> 00:14:07,550
ู†ูุณ ุงู„ู€ entity set ู„ุงุญุธูˆุง ุงู„ุนู„ุงู‚ุฉ ู‡ุฐู‡ ู…ู† ุทุฑู ููŠู‡ุง
178
00:14:07,550 --> 00:14:11,450
ูˆุงุญุฏ ูˆ ู…ู† ุทุฑู ููŠู‡ุง many one to many ุฃู† ุงู„ู€ employee
179
00:14:11,450 --> 00:14:17,290
ุงู„ูˆุงุญุฏ ู‡ูŠูƒูˆู† ู…ุดุฑู ุนู„ู‰ ูุฑูŠู‚ team ุฃูˆ ู…ุฌู…ูˆุนุฉ ู…ู†
180
00:14:17,290 --> 00:14:20,830
ุงู„ู…ูˆุธููŠู† ูˆ ููŠ ู†ูุณ ุงู„ูˆู‚ุช ุงู„ุนู„ุงู‚ุฉ optional ุนู„ู‰
181
00:14:20,830 --> 00:14:27,810
ุงู„ุทุฑููŠู† ู„ูŠุด optional ุนู„ู‰ ุงู„ุทุฑููŠู† ู‡ูŠ ุงู„ุฌูˆุงุจ ู„ูŠุด
182
00:14:27,810 --> 00:14:32,030
ุงู„ุนู„ุงู‚ุฉ optional ุนู„ู‰ ุงู„ุทุฑููŠู†ุŸ
183
00:14:32,030 --> 00:14:37,230
ู…ุนู†ู‰ ุงู„ูƒู„ุงู… ุฃู† ููŠ ู…ูˆุธู ู‡ูˆ ู…ุด ู…ุฏูŠุฑ ุญุฏ ุตุญุŸ ุงู„ู…ูˆุธู
184
00:14:37,230 --> 00:14:40,510
ุงู„ู„ูŠ ุจูŠูƒูˆู† ููŠ ุขุฎุฑ ุงู„ู‡ุฑู… ุงู„ุฅุฏุงุฑูŠ ุชุญุช ู…ุด ู…ุณุฆูˆู„ ุนู†
185
00:14:40,510 --> 00:14:43,510
ุญุฏ ู…ุด ู…ุฏูŠุฑ ุญุฏ ูˆุจุงู„ุชุงู„ูŠ ู‡ูˆ optional ู…ุด ุถุฑูˆุฑูŠ ูŠูƒูˆู†
186
00:14:43,510 --> 00:14:48,480
ู…ุดุฑู ุฃูˆ ู…ุด ุถุฑูˆุฑูŠ ูŠูƒูˆู† ุฑุฆูŠุณ ู‚ุณู… ุฃูˆ ู…ุฏูŠุฑ ุชู…ุงู…ุŒ ู„ูƒู†
187
00:14:48,480 --> 00:14:53,200
ููŠู‡ ู„ู‡ ู…ุฏูŠุฑุŒ ูˆูƒู„ ู…ุฏูŠุฑ ู„ู‡ ู…ุฏูŠุฑุŒ ู…ุง ุนุฏุง ุขุฎุฑ ู…ุฏูŠุฑุŒ
188
00:14:53,200 --> 00:14:56,260
ู…ุฏูŠุฑ ุงู„ู…ุคุณุณุฉ ูƒู„ู‡ุงุŒ ุฑุฆูŠุณ ุงู„ุฌุงู…ุนุฉุŒ ุฑุฆูŠุณ ุงู„ูˆุฒุฑุงุก ููŠ
189
00:14:56,260 --> 00:15:00,360
ุงู„ุญูƒูˆู…ุฉุŒ ุงู„ูˆุฒูŠุฑ ููŠ ุงู„ูˆุฒุงุฑุฉุŒ ุฑุฆูŠุณ ุดุฑูƒุฉ ุฃูˆ ู…ุงู„ูƒ
190
00:15:00,360 --> 00:15:05,460
ุดุฑูƒุฉุŒ ููŠู‡ ู…ุฏูŠุฑ ุฃุนู„ู‰ ู…ู†ู‡ุŸ ู…ุง ููŠุดุŒ ูˆุจุงู„ุชุงู„ูŠ optionalุŒ
191
00:15:05,460 --> 00:15:08,160
ู…ู…ูƒู† ูŠูƒูˆู† ู‡ูˆ ู…ุณุฆูˆู„ ุนู† ุงู„ู†ุงุณุŒ ู‡ูˆ ูƒู…ุฏูŠุฑ ู…ุณุฆูˆู„ ุนู†
192
00:15:08,160 --> 00:15:11,880
ุงู„ู†ุงุณุŒ ู„ูƒู† ู…ุง ููŠู‡ ู„ู‡ ู…ุฏูŠุฑ ุฃุนู„ู‰ ู…ู†ู‡ุŒ ูุงู„ุนู„ุงู‚ุฉ
193
00:15:11,880 --> 00:15:17,110
optional ุนู„ู‰ ุงู„ุทุฑููŠู† ู…ู…ูƒู† ุงู„ู…ูˆุธู ูŠูƒูˆู† ู„ู‡ ู…ุฏูŠุฑ ุฃูˆ
194
00:15:17,110 --> 00:15:23,910
ูŠูƒูˆู† ู‡ูˆ ุงู„ู…ุฏูŠุฑ ุนู„ู‰ ุฃุดุฎุงุต ูˆู…ู…ูƒู† ู…ุง ููŠุด ุนู„ุงู‚ุฉ
195
00:15:23,910 --> 00:15:32,670
ู‡ุงูŠ ุจู†ุณู…ูŠู‡ุง recursive ุงู„ุญู„
196
00:15:32,670 --> 00:15:36,710
ุชุจุนู‡ุง ุฃู† ุงุญู†ุง ู†ุงุฎุฐ ู†ูุณ ุงู„ู€ primary key ูˆ ู†ุนูŠุฏู‡ ูƒู…ุงู†
197
00:15:36,710 --> 00:15:41,500
ู…ุฑุฉ ูƒู€ foreign key ุงู„ู€ employee number ุงู„ู€ name ุงู„ู€
198
00:15:41,500 --> 00:15:44,920
address ู‡ุฐุง ุฌุฏูˆู„ ุงู„ู€ .. ุฃูˆ ุงู„ู€ intensity ุชุจุน ุงู„ู€
199
00:15:44,920 --> 00:15:47,540
employee ุงู„ุนุงุฏูŠุฉ ููŠู‡ุง ุงู„ู€ employee number ู‡ูˆ ุงู„ู€
200
00:15:47,540 --> 00:15:51,580
primary ุฅุฐุง ุฃุฌูŠุจ ุงู„ู€ employee number ูˆ ุฃุญุทู‡ ูˆ ุฃุณู…ูŠู‡
201
00:15:51,580 --> 00:15:56,120
ุงุณู… ุฌุฏูŠุฏ ุฃุณู…ูŠู‡ supervised by ูŠูƒูˆู† ู‡ุฐุง ู‡ูˆ ุฑู‚ู…
202
00:15:56,120 --> 00:16:01,220
ุงู„ู…ูˆุธู ุงู„ู…ุฏูŠุฑ ุนู„ู‰ ู‡ุฐุง ุงู„ู…ูˆุธู ูŠุนู†ูŠ ู„ูˆ ูƒุงู† ู‡ุฐุง ุงู„ู€
203
00:16:01,220 --> 00:16:12,300
record ู„ู…ูˆุธู ุงุณู…ู‡ ุนู„ูŠ ุฑู‚ู…ู‡ 100 ู…ุฏูŠุฑู‡ ูŠูˆุณู ุฑู‚ู… ูŠูˆุณู
204
00:16:12,300 --> 00:16:16,800
ู…ุชูŠู† ุญูŠูƒูˆู† ุนู†ุฏูŠ ููŠ ุงู„ู€ table ู…ูŠุฉ ุงุณู…ู‡ ุนู„ูŠ ุงู„ุนู†ูˆุงู†
205
00:16:16,800 --> 00:16:21,600
ุชุจุนู‡ whatever supervised by ู…ุชูŠู† ู„ูˆ ุฌูŠุช ุนู„ู‰ ู†ูุณ ุงู„ู€
206
00:16:21,600 --> 00:16:27,120
table ุชุจุน ุงู„ู€ employee ุญู„ุงู‚ูŠ ุงู†ู‡ ุฑู‚ู… ู…ุชูŠู† ุงุณู…ู‡ ุงูŠุด
207
00:16:27,120 --> 00:16:29,060
ูŠูˆุณู
208
00:16:30,360 --> 00:16:36,280
ู…ุชูŠู† ู‡ูˆ ูŠูˆุณู ู‡ูŠูƒูˆู† ุนู†ูˆุงู†ู‡ ูˆู…ุฏูŠุฑู‡ ู†ูุฑุถ ูŠูˆุณู ูˆู…ุฏูŠุฑู‡
209
00:16:36,280 --> 00:16:45,020
ู…ุญู…ุฏ ู…ุญู…ุฏ ุฑู‚ู… 300 and so on ุจู†ูุณ ุงู„ุชูƒุฑุงุฑ ูุตุงุฑ ุนู†ุฏ
210
00:16:45,020 --> 00:16:49,500
ุงู„ู€ primary key ู†ูุณู‡ ุงุณุชุฎุฏู…ุชู‡ ููŠ ู†ูุณ ุงู„ู€ entity set
211
00:16:49,500 --> 00:16:52,360
ููŠ ู†ูุณ ุงู„ู€ table ูƒู€ foreign key
212
00:16:53,750 --> 00:16:57,210
ู†ูุณ ุงู„ู€ primary key ุนู†ุฏู†ุง ูƒู€ foreign key ุทุจุนุง ุจุชุทู„ุจ
213
00:16:57,210 --> 00:17:01,070
ุฃู† ู†ุนูŠุฏ ุชุณู…ูŠุชู‡ ู†ุนุทูŠ ุงุณู… ุฌุฏูŠุฏ ุณู…ูŠู†ุง supervised by
214
00:17:01,070 --> 00:17:04,490
ู„ูƒู†
215
00:17:04,490 --> 00:17:06,930
ููŠ ุงู„ู†ู‡ุงูŠุฉ ุงู„ุฑู‚ู… ุงู„ู€ employee number ูˆ supervised
216
00:17:06,930 --> 00:17:12,570
by ุจู…ุซู„ู‡ ุฃุฑู‚ุงู… ู…ูˆุธููŠู† ุงู„ุฃูˆู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู…ูˆุธู ู†ูุณู‡
217
00:17:12,570 --> 00:17:14,710
ูˆ ุงู„ุซุงู†ูŠ ู…ูŠู† ู…ุฏูŠุฑู‡
218
00:17:22,960 --> 00:17:28,360
ุงู„ุขู† ุจุนุถ ุงู„ู‚ูˆุงุนุฏ rules ููŠ ุชุตู…ูŠู… ุงู„ู€ logical design
219
00:17:28,360 --> 00:17:34,080
ุงุญู†ุง ู„ุญุฏ ุงู„ุขู† ูƒู„ ุดุบู„ู†ุง ูƒุงู† ุนู„ู‰ ุงู„ู€ ER model ูˆู‡ุฐุง
220
00:17:34,080 --> 00:17:42,820
ุณู…ูŠู†ุงู‡ ุงูŠุด conceptual design ุชุตู…ูŠู… ุงู„ููƒุฑุฉ ุงู„ู€
221
00:17:42,820 --> 00:17:45,740
chapter 2 ูƒู„ู‡ ู„ู…ุนู†ู‰ ู…ุนุธู…ู‡ ุจุฑูƒุฒ ุนู„ู‰ ุงู„ู€ conceptual
222
00:17:45,740 --> 00:17:49,380
design ุงู„ุฎุทูˆุฉ ุฑู‚ู… ุงุซู†ูŠู† ููŠ ุงู„ู€ design ุญูƒูŠู†ุง ุงุญู†ุง
223
00:17:49,380 --> 00:17:54,410
ุฎุทูˆุงุช ุชุตู…ูŠู… ุงู„ู€ database ุณุชุฉ ุฃูˆู„ ุซู„ุงุซุฉ ู…ู†ู‡ู… ุฃู†ู‡ู…
224
00:17:54,410 --> 00:17:57,610
ุนู„ุงู‚ุฉ ุจุงู„ู€ ER model ุงู„ุฃูˆู„ู‰ ูƒุงู† ุงู„ุชุญู„ูŠู„ ุงู„ู„ูŠ ู‡ูŠ
225
00:17:57,610 --> 00:18:00,790
requirement analysis ูˆุงู„ุซุงู†ูŠุฉ ุงู†ู‡ ู†ุฑุณู… ุงู„ู€ ER model
226
00:18:00,790 --> 00:18:04,630
ุงู„ู„ูŠ ุงุญู†ุง ู†ุชุนู„ู… ูƒูŠู ู†ุฑุณู…ู‡ ูˆุงู„ุซุงู„ุซุฉ ุงู†ู‡ ู†ุญูˆู„ู‡
227
00:18:04,630 --> 00:18:07,670
logical ุงู„ุขู† ุงู„ู‚ูˆุงุนุฏ ุงู„ู„ูŠ ุงุญู†ุง .. ุงู„ุขู† ุงู„ู„ูŠ ุจู†ุชูƒู„ู…
228
00:18:07,670 --> 00:18:13,650
ุนู†ู‡ุง ู‡ูŠ ู‚ูˆุงุนุฏ ู„ู„ุชุญูˆูŠู„ ู„ู„ู€ logical ุฃูˆ ู„ุชุณู‡ูŠู„ ุงู„ุชุญูˆูŠู„
229
00:18:13,650 --> 00:18:18,090
ู„ู„ู€ logical ุจุนุถ ู‡ูŠ ุงู„ู‚ูˆุงุนุฏ ุฃู†ุง ุชูƒู„ู…ุช ุนู†ู‡ ุฃุซู†ุงุก ุงู„ู€
230
00:18:18,090 --> 00:18:24,020
slides ุงู„ุณุงุจู‚ุฉ ุฃูˆู„ ู‚ุงุนุฏุฉ ููŠ ุญุงู„ุฉ ุงู„ุนู„ุงู‚ุฉ one to many
231
00:18:24,020 --> 00:18:30,960
ุงู„ุนู„ุงู‚ุฉ one to many ุฏุงุฆู…ุง ุจุงุฎุฏ ุงู„ู€ primary key ุชุจุน
232
00:18:30,960 --> 00:18:34,660
ุฌู‡ุฉ ุงู„ู€ one ูˆ ุจุญุทู‡ ูƒู€ foreign key ููŠ ุฌู‡ุฉ ุงู„ู€ many
233
00:18:34,660 --> 00:18:41,920
ุนุดุงู† ุฃุณู‡ู„ ุญุงู„ ุงู„ู€ design ุฏุงุฆู…ุง ุจุงุฎุฏ ุงู„ู€ primary key
234
00:18:41,920 --> 00:18:48,490
ู…ู† ุฌู‡ุฉ ุงู„ู€ one ูˆ ุจุถูŠูู‡ ู„ู„ู€ Intensity ู‡ุงูŠ ุงู„ู„ูŠ ู‡ูŠ
235
00:18:48,490 --> 00:18:54,430
ุจุชู…ุซู„ ุงู„ู…ุงู†ุน ุจุญูŠุซ ุฃู†ู‡ ูŠูƒูˆู† foreign key ุนู†ุฏูŠ ุทู„ุงุจ
236
00:18:54,430 --> 00:18:58,090
ู…ูˆุฌูˆุฏูŠู† ููŠ ุฃู‚ุณุงู… ูƒู„ ู‚ุณู… ุจูŠูƒูˆู† ููŠู‡ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ุทู„ุงุจ
237
00:18:58,090 --> 00:19:01,830
ู„ูƒู† ุงู„ุทุงู„ุจ ู…ู…ู†ูˆุน ูŠูƒูˆู† ููŠ ู‚ุณู…ูŠู† ุฃูˆ ุฃูƒุซุฑ ูุงู„ุนู„ุงู‚ุฉ
238
00:19:01,830 --> 00:19:07,130
one to many ุงู„ู€ department ุงู„ู€ attributes ุจุชุงุนุชู‡ ุฑู‚ู…
239
00:19:07,130 --> 00:19:12,690
ุงู„ู€ department ูˆุงุณู…ู‡ ุฑู‚ู… ุงู„ูƒู„ูŠุฉ ูˆุนุฏุฏ ุงู„ุทู„ุงุจ ุงู„ู„ูŠ ููŠ
240
00:19:12,690 --> 00:19:19,400
ุงู„ู‚ุณู… ู‚ุณู… ููŠู‡ 100 ุทุงู„ุจ ู‚ุณู… ููŠู‡ 200 ู‚ุณู… ููŠู‡ 50 ุงู„ู€
241
00:19:19,400 --> 00:19:24,820
student ู„ู‡ ุฑู‚ู… ูˆู„ู‡ ุงุณู… ูˆู„ู‡ address ูˆุฑู‚ู… ุงู„ู€
242
00:19:24,820 --> 00:19:29,800
department ุชุจุนู‡ ู„ุงุญุธ ุฑู‚ู… ุงู„ู€ department ูƒุงู† primary
243
00:19:29,800 --> 00:19:35,120
key ูˆูŠู† ููŠ ุงู„ู€ department ุงู†ุช ุณุช ุฃูˆ ููŠ ุงู„ู€
244
00:19:35,120 --> 00:19:41,500
department table ูˆุฑุงุญ ูƒู€ foreign key ููŠ ุงู„ู€ student
245
00:19:41,500 --> 00:19:48,880
ู…ุง ุนู…ู„ู†ุงุด ุงู„ุนูƒุณ ู…ุง ุฃุฎุฏู†ุงุด ุฑู‚ู… ุงู„ู€ student ูˆ
246
00:19:48,880 --> 00:19:53,980
ุญุทูŠู†ุง ุนู†ุฏ ุงู„ู€ department ุฃุฎุฏู†ุง
247
00:19:53,980 --> 00:19:57,960
ุงู„ู€ primary ุชุจุน ุงู„ู€ one ูˆ ุญุทูŠู†ุงู‡ุง ููŠ ุงู„ู€ many side
248
00:19:57,960 --> 00:20:06,460
always goes to the many end ูˆุงุถุญุฉ ูˆู„ุง ุตุนุจุฉุŸ true
249
00:20:06,460 --> 00:20:09,320
and false ู„ูˆ ู„ุฎุจุทู†ุง ุงู„ุฌู…ู„ุฉ ุญูƒูŠู†ุง in the one to
250
00:20:09,320 --> 00:20:12,200
many relationship the foreign key always goes at
251
00:20:12,200 --> 00:20:19,040
the one end false okay ู„ูˆ ุญุทูŠู†ุงู‡ุง ูƒู…ุซุงู„ ูƒุชุจุช
252
00:20:19,040 --> 00:20:24,960
ุงู„ุซู„ุงุซุฉ ู‡ุฏูˆู„ ุงู„ุณุทุฑูŠู† ู‡ุฏูˆู„ ูˆ ุฌูŠู†ุง ูƒู†ุง ุญุงุทูŠู† ู…ุซู„ุง ุงู„ู€
253
00:20:24,960 --> 00:20:31,680
student number ูˆ ุญุทูŠู†ุงู‡ ุนู†ุฏ ุงู„ู€ department ูˆ ู„ุบูŠู†ุง
254
00:20:31,680 --> 00:20:37,800
ู‡ุฐุง ูˆ ุณุคุงู„ู†ุง ุงู„ู€ design ู‡ูŠูƒ bad design ูˆู„ุง good
255
00:20:37,800 --> 00:20:49,240
design bad design ููŠ
256
00:20:49,240 --> 00:20:52,780
ุญุงู„ุฉ
257
00:20:52,780 --> 00:20:56,560
ุงู„ู€ one to one ููŠ ุญุงู„ุฉ ุงู„ู€ one to one ุนู†ุฏูŠ ุญู„ุงู† ุญู„
258
00:20:56,560 --> 00:21:01,340
ุงู„ุฃูˆู„ ุฅู…ุง ุจุฏู…ุฌ ุงู„ู€ two entities ุจุนู…ู„ู‡ุง entity ูˆุงุญุฏุฉ
259
00:21:02,280 --> 00:21:06,960
we can combine the two relations ู†ุนู…ู„ู‡ู… ููŠ table
260
00:21:06,960 --> 00:21:12,820
ูˆุงุญุฏ ููŠ entity set ูˆุงุญุฏุฉ ุฃูŠ ุญู„ ุงู„ุญู„ ุงู„ุซุงู†ูŠ ุฃู†ู‡ ุฒูŠ
261
00:21:12,820 --> 00:21:16,260
ู…ุง ุนู…ู„ู†ุง ููŠ ุงู„ู€ one to many ุจู†ุงุฎุฏ ุงู„ู€ primary key ูˆ
262
00:21:16,260 --> 00:21:19,300
ุจู†ุญุทู‡ foreign key ููŠ ุงู„ุฌู‡ุฉ ุงู„ุซุงู†ูŠุฉ ูˆ ู…ุด ู‡ุชูุฑู‚
263
00:21:19,300 --> 00:21:22,880
ุงู„ู…ุนู†ู‰ ุณูˆุงุก ุฃุฎุฏู†ุง ู…ู† ุงู„ุฌู‡ุฉ ุงู„ูŠู…ูŠู† ู„ู„ุดู…ุงู„ ุฃูˆ ู…ู†
264
00:21:22,880 --> 00:21:26,260
ุงู„ุดู…ุงู„ ู„ู„ูŠู…ูŠู† ู…ุง ููŠุด ุนู†ุฏ ุฌู‡ุฉ one to many ุงู„ุงุซู†ูŠู†
265
00:21:26,260 --> 00:21:30,950
one to one ุณูˆุงุก ุฃุฎุฏู†ุง ู‡ูŠูƒ ุฃูˆ ู‡ูŠูƒ ุงู„ุฌู‡ุชูŠู† ุตุญ ู…ุซุงู„
266
00:21:30,950 --> 00:21:34,010
ุนู„ู‰ ุงู„ูƒู„ุงู… ู‡ุฐุง ุนู†ุฏูŠ ุงู†ุชุฌุช ุณูŠุช ููŠู‡ุง ุงู„ู€ head of
267
00:21:34,010 --> 00:21:38,490
department ูู‚ุท ุฃุณู…ุงุก ู…ุฏุฑุงุก ุงู„ุฃู‚ุณุงู… ุนู†ุฏูŠ table
268
00:21:38,490 --> 00:21:44,290
ุงู†ุชุฌุช ุณูŠุช ููŠู‡ุง ุจุณ ุฃุณู…ุงุก ุงู„ู…ุฏุฑุงุก ูˆููŠ ุงู†ุชุฌุช ุณูŠุช
269
00:21:44,290 --> 00:21:49,330
ุซุงู†ูŠุฉ ุฃุณู…ุงุก ุงู„ุฃู‚ุณุงู… ุงู„ุนู„ุงู‚ุฉ ุจูŠู†ู‡ู… one to one ุฃู† ูƒู„
270
00:21:49,330 --> 00:21:53,970
ู‚ุณู… ู„ู‡ ู…ุฏูŠุฑ ูˆุงู„ู…ุฏูŠุฑ ู…ู…ู†ูˆุน ูŠูƒูˆู† ู…ุฏูŠุฑ ุฅู„ุง ุนู„ู‰ ู‚ุณู…
271
00:21:53,970 --> 00:22:00,050
ูˆุงุญุฏ ููŠุง ุฅู…ุง ุจุฌูŠุจ ุฑู‚ู… ุงู„ู€ department ูˆ ุจุญุทู‡ ูƒู€
272
00:22:00,050 --> 00:22:02,350
foreign key ุนู†ุฏ ุงู„ู€ head of department ุฃูˆ ุงู„ุนูƒุณ
273
00:22:02,350 --> 00:22:05,030
ุจุงุฎุฏ ุฑู‚ู… ุงู„ู€ employee ุงู„ู„ูŠ ุจูŠู…ุซู„ head of department
274
00:22:05,030 --> 00:22:09,730
ูˆ ุจุญุทู‡ ุนู†ุฏ ุงู„ู€ department ู†ุดูˆู ุงู„ู€ design ุงู„ู„ูŠ ุนู†ุฏู†ุง
275
00:22:09,730 --> 00:22:12,850
ุงู„ู…ุซุงู„ example ุงู„ู„ูŠ ุนู†ุฏู†ุง ุงูŠุด ุนู…ู„ ุญุท ููŠ ุงู„ู€
276
00:22:12,850 --> 00:22:17,130
department ุงู„ู€ primary key ู…ูŠู† ุงู„ู€ department number
277
00:22:17,130 --> 00:22:21,910
ูˆูŠู† ุงู„ู€ foreign key ุงู„ู€
278
00:22:21,910 --> 00:22:26,250
head of department ู‡ุงูŠ ุงู„ู€ foreign key ู…ู† ูˆูŠู† ุฌุงุจู‡
279
00:22:28,180 --> 00:22:30,980
ู‡ูŠ ุงู„ู€ head of department ุงู„ู€ number ู‡ูŠ ุงู„ู€ primary
280
00:22:30,980 --> 00:22:38,160
key ุฌุงุจูˆู‡ุง ูˆ ุญุทูˆู‡ุง ูƒู€ foreign key two entities
281
00:22:38,160 --> 00:22:41,840
department ูˆ head of department ู…ุฏูŠุฑ ุงู„ู‚ุณู… ู…ุฏูŠุฑ
282
00:22:41,840 --> 00:22:46,600
ุงู„ู‚ุณู… ุงู„ูˆ ุฑู‚ู… ูˆ ุงุณู… ูˆ ุนู†ูˆุงู† ุฌูŠุจู†ุง ุฑู‚ู… ู…ุฏูŠุฑ ุงู„ู‚ุณู… ูˆ
283
00:22:46,600 --> 00:22:53,520
ุญุทูŠู†ุง ุนู†ุฏ ุงู„ู‚ุณู… ูŠุนู†ูŠ ู„ูˆ ุจุฏู†ุง ู†ุนุทูŠ ู…ุซุงู„ ู…ุซู„ุง ุนู†ุฏ ู‚ุณู…
284
00:22:54,250 --> 00:23:02,430
ุงู„ web and multimedia ุฑู‚ู… ุงู„ู‚ุณู… ู…ุซู„ุง 101 ุงุณู… ุงู„ู‚ุณู…
285
00:23:02,430 --> 00:23:07,710
ุงู„ู„ูŠ ู‡ูˆ web and multimedia ุงู„ location ุชุจุนู‡ ู…ุซู„ุง ู†ูุชุฑุถ
286
00:23:07,710 --> 00:23:13,550
ููŠ ุงู„ IT ู…ูŠู† ุงู„ head of department ู…ุซู„ุง ุฑู‚ู…ู‡ ุฃู„ู
287
00:23:13,550 --> 00:23:20,630
whatever ู…ูˆุธู ุฏูƒุชูˆุฑ ุฑุจุญูŠ ุฏูƒุชูˆุฑ ุฅูŠุงุฏ ุฏูƒุชูˆุฑ ุณุนูŠุฏ
288
00:23:20,630 --> 00:23:26,850
ุฑู‚ู…ู‡ ุฃู„ู ู‚ุณู… ุซุงู†ูŠ ู…ุซู„ุง ู‚ุณู… ุงู„ software engineering
289
00:23:26,850 --> 00:23:35,370
ุฑู‚ู… ุงู„ู‚ุณู… 102 ุงุณู… ุงู„ู‚ุณู… SE ู…ูˆุฌูˆุฏ ููŠ ุงู„ IT ุงู„ู…ุฏูŠุฑ
290
00:23:35,370 --> 00:23:41,590
ุชุจุนู‡ ู…ุซู„ุง ุฑู‚ู…ู‡ 1050 ูˆุจู‡ุฐุง
291
00:23:41,590 --> 00:23:48,170
ุงู„ุดูƒู„ ู„ุนู†ุฏ ู…ุนุจูŠู‡ู… ูƒู„ู‡ู… ุงู„ุญู„ ุงู„ุซุงู†ูŠ ุฃู†ู‡ ู†ุนู…ู„ ุงู„ุนูƒุณ
292
00:23:48,170 --> 00:23:52,870
ููŠ ุงู„ department ู†ูƒุชููŠ ููŠ ุงู„ู…ุนู„ูˆู…ุงุช ู‡ูŠ ูู‚ุท ุงู„ู„ูŠ ู‡ูŠ
293
00:23:52,870 --> 00:23:58,230
ุฑู‚ู… ุงู„ู‚ุณู… ุงุณู… ุงู„ู‚ุณู… ูˆ ุงู„ location ูˆ ุฃุฌูŠ ุนู†ุฏ ุงู„
294
00:23:58,230 --> 00:24:03,910
head of department ุฃุญุท ุฑู‚ู…ู‡ ู…ุซู„ุง ุงู„ุฃูˆู„ุงู†ูŠ ูƒุงู† ุฃู„ู
295
00:24:03,910 --> 00:24:09,470
ูˆ ุงู„ุซุงู†ูŠ ููŠ ุงู„ู…ุซุงู„ ุฃุฎุฐู†ุง ุฃู„ู ูˆุฎู…ุณูŠู† ู†ุญุท ุงุณู…ู‡ ุฃู†ุง
296
00:24:09,470 --> 00:24:16,950
ู…ุซู„ุง ูƒุงู† ุงุณู…ู‡ ุฑุจุญูŠ ุฃู†ุง ุงุณู…ู‡ ุณุนูŠุฏ ุงู„ address ุชุจุนู‡
297
00:24:16,950 --> 00:24:22,320
whatever ุจุฑู†ูŠุด ูˆุจุฏูŠ ุฃุญุท ุฑู‚ู… ุงู„ department ู„ูˆ ููŠ
298
00:24:22,320 --> 00:24:25,040
ุงู„ุญุงู„ุฉ ู‡ูŠ ู…ุซู„ุง ูƒุงู† ู…ุฆุฉ ูˆูˆุงุญุฏ ููŠ ุงู„ุญุงู„ุฉ ู‡ูŠ ูƒุงู† ู…ุฆุฉ
299
00:24:25,040 --> 00:24:29,920
ูˆ ุงุซู†ูŠู† ููŠ
300
00:24:29,920 --> 00:24:43,080
ุดูŠุก ุตุนุจ ููŠู‡ ุฃู„ุบุงุฒ ูƒู„
301
00:24:43,080 --> 00:24:46,020
ู‡ุฐุง ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุชูƒู„ู…ู†ุงู‡ ุนู† ุงู„ one to one ุจุณ ุจุดุฑุท
302
00:24:46,020 --> 00:24:50,240
ุฃู†ู‡ without optionality
303
00:24:51,360 --> 00:24:56,200
ู…ุงููŠุด optionality ุงู„ one to one ูŠุง ุฅู…ุง ุจุฌู…ุน ุงู„ two
304
00:24:56,200 --> 00:24:59,840
entities ู…ุน ุจุนุถ ูŠุง ุฅู…ุง ุจุฃุฎุฐ primary key ูˆ ุจุฃุญุทู‡
305
00:24:59,840 --> 00:25:03,060
foreign key ููŠ ุงู„ุฌู‡ุฉ ุงู„ุซุงู†ูŠุฉ ู…ุด ูุงุฑู‚ ู…ุนุงู‡ ุณูˆุงุก ุฃู†ุง
306
00:25:03,060 --> 00:25:07,280
ุนู…ู„ุช ุงู„ูŠู…ูŠู† ู„ู„ุดู…ุงู„ ุฃูˆ ุงู„ุดู…ุงู„ ู„ู„ูŠู…ูŠู† ุงู„ุดุฑุท ุฃู†ู‡ ุจุฏูˆู†
307
00:25:07,280 --> 00:25:13,860
optionality ู„ูˆ ูƒุงู† ููŠ optionality ุจูƒูˆู† ู…ุถุทุฑ ุฃู†ูŠ
308
00:25:13,860 --> 00:25:18,840
ุขุฎุฐ ุงู„ primary key ูˆ ุฃุญุทู‡ ููŠ ุฌู‡ุฉ ุงู„ optional ุขุฎุฐู‡
309
00:25:18,840 --> 00:25:22,030
ู…ู† ุงู„ุฌู‡ุฉ ุงู„ู„ูŠ ู…ุงููŠุด ููŠู‡ุง optional ูˆ ุฃุญุทู‡ุง ุนู†ุฏู‡
310
00:25:22,030 --> 00:25:27,890
optional ู…ุซุงู„ ุงู„ employee ู…ุน ุงู„ุณูŠุงุฑุฉ ุงู„ู„ูŠ ุฃุฎุฐู†ุงู‡ุง
311
00:25:27,890 --> 00:25:34,070
ุญุงุฌุฉ ูŠุฃุฎุฐ ุฑู‚ู… ุงู„ staff number ู‡ุงูŠู‡ ูˆ ู‡ุฌูŠุจู‡ ูˆ ุฃุญุทู‡
312
00:25:34,070 --> 00:25:38,770
ูŠุนู†ูŠ ูƒ foreign key ุนู†ุฏ ุงู„ car ู„ุฃู† ุงู„ car ู‡ูŠ ุงู„ู„ูŠ
313
00:25:38,770 --> 00:25:39,830
ุนู†ุฏู‡ุง ุฅุดุงุฑุฉ ุงู„ optional
314
00:25:43,400 --> 00:25:46,660
ุทุจ ู„ูˆ ุงู„ุทุฑููŠู† optional ุฅุญู†ุง ุฃุตู„ุง ู…ุด ู‡ู†ุจู‚ู‰ ุนู„ู‰
315
00:25:46,660 --> 00:25:51,280
ุงู„ุนู„ุงู‚ุฉ ู‡ุงูŠ ู„ุฃู† ุฅุญู†ุง ุฃุฎุฐู†ุง ุฃู†ู‡ ู„ุงุฒู… ู†ุญูˆู„ู‡ุง ู„ุฅูŠุด ู†ุญุท
316
00:25:51,280 --> 00:25:56,580
ููŠ ุงู„ูˆุณุท ุนู„ุงู‚ุฉ ูˆุณูŠุทุฉ ููŠ ุงู„ูˆุณุท ุณู…ูŠู†ุงู‡ุง drives ูˆ ุตุงุฑุช
317
00:25:56,580 --> 00:26:00,180
ุงู„ุนู„ุงู‚ุฉ one to many one to many ูˆ ุงู„ optionality
318
00:26:00,180 --> 00:26:04,960
ุนู„ู‰ ุงู„ุทุฑููŠู† ูุตุงุฑ ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูŠ ุงู„ employees ูˆ ุงู„
319
00:26:04,960 --> 00:26:11,840
car ูˆ ุตุงุฑ ุนู†ุฏูŠ drives ุชุฃุฎุฐ combined primary key
320
00:26:13,190 --> 00:26:21,230
ูˆุจู‡ูŠูƒ ุชู… ุงู„ุฑุจุท ุจูŠู† ุงู„ two relations ุงู„
321
00:26:21,230 --> 00:26:24,370
many to many ุดุฑุญุชู‡ุง ูุฅุฐุง ุถุงูŠู‚ ุงูุฑุฏ ุนูŠุฏู‡ุง ู†ูุณ
322
00:26:24,370 --> 00:26:27,290
ุงู„ุชูุงุตูŠู„ ุงู„ many to many ู…ุง ุจู†ูุนุด ู†ุญุทู‡ุง ููŠ ุงู„
323
00:26:27,290 --> 00:26:32,330
database ู‡ู†ุญุท linked entity weak ููŠ ุงู„ูˆุณุท ุชุฑุจุท
324
00:26:32,330 --> 00:26:36,210
ุงู„ุทุฑููŠู† ูˆ ุจู†ูุณ ุงู„ุทุฑูŠู‚ุฉ ุงู„ู„ูŠ ุงุดุชุบู„ู†ุง ููŠู‡ุง ู…ุน ุงู„
325
00:26:36,210 --> 00:26:38,130
optionality ูˆ ุดุฑุญู†ุงู‡ุง ุณุงุจู‚ุง
326
00:26:42,480 --> 00:26:45,320
ุงู„ู€ Recursive ุจุฑุถู‡ ุดุฑุญู†ุง ูƒูŠู ู…ู…ูƒู† ู†ุชุนุงู…ู„ ู…ุน ุงู„
327
00:26:45,320 --> 00:26:48,780
primary key ุชุจุนู‡ุง ุญูƒูŠู†ุง ุฃู† ุงู„ primary ู†ูุณู‡ ู‡ูˆ ุงู„ู„ูŠ
328
00:26:48,780 --> 00:26:54,040
ุจูŠุตูŠุฑ foreign key ุจูŠู…ุซู„ ุงู„ supervised employee
329
00:26:54,040 --> 00:26:59,900
ุนู†ุฏูŠ ู‡ุงูŠ ุงู„ู…ูˆุธููŠู† ุงู„ู„ูŠ ู„ู‡ู… ุฑู‚ู… ูˆ ุงู„ุฑู‚ู… ุชุจุน ุงู„ู…ุฏูŠุฑ
330
00:26:59,900 --> 00:27:03,680
ุชุจุนู‡ supervised by ุจู†ุญุทู„ู‡ ููŠ ุงู„ attribute
331
00:27:03,680 --> 00:27:05,540
Supervised by
332
00:27:12,620 --> 00:27:16,920
degree of relationship time ู„ุญุฏ ุงู„ุขู† ูƒู„ ุงู„ุฃู…ุซู„ุฉ
333
00:27:16,920 --> 00:27:21,120
ุงู„ู„ูŠ ุฃุฎุฐู†ุงู‡ุง ุจุชู…ุซู„ ุนู„ุงู‚ุงุช ุซู†ุงุฆูŠุฉ two entities
334
00:27:21,120 --> 00:27:26,820
ุจูŠู†ู‡ู… ุงู„ relation employee ู…ุน car student ู…ุน ุงู„
335
00:27:26,820 --> 00:27:32,160
course head of department ู…ุน department student ู…ุน
336
00:27:32,160 --> 00:27:36,040
department ูƒู„ ุงู„ุนู„ุงู‚ุงุช ุซู†ุงุฆูŠุฉ ุทุฑููŠู† ู„ุฃู† ููŠ ุนู†ุฏู†ุง
337
00:27:36,040 --> 00:27:40,000
ุนู„ุงู‚ุงุช ููŠ ุฃุฑุถ ุงู„ูˆุงู‚ุน ุจุชูƒูˆู† ุซู„ุงุซูŠุฉ ุฃูˆ ุฑุจุงุนูŠุฉ
338
00:27:41,120 --> 00:27:46,880
ุงู„ุซู„ุงุซูŠุฉ ุจู†ุณู…ูŠู‡ุง ุจุงู„ุฅู†ุฌู„ูŠุฒูŠุฉ Ternery Ternary Relations
339
00:27:46,880 --> 00:27:52,540
ูˆุงู„ุซู†ุงุฆูŠุฉ ุฅูŠุด ุจู†ุณู…ูŠู‡ุงุŸ By binary ุฃุฎุฐุชูˆ ุงู„ binary
340
00:27:52,540 --> 00:27:58,780
systemุŸ ุจู†ุณู…ูŠู‡ุง binary ู„ุญุฏ ุงู„ุขู† ูƒู„ ุงู„ุนู„ุงู‚ุงุช ุงู„ู„ูŠ
341
00:27:58,780 --> 00:28:03,240
ุฃุฎุฐู†ุงู‡ุง binary relations ุงู„ terner relation ู„ูˆ
342
00:28:03,240 --> 00:28:07,100
ุฃุฎุฐู†ุง ุงู„ุนู„ุงู‚ุฉ student ูˆ course ูˆ ุจุฏู†ุง ู†ุทูˆุฑ ุนู„ูŠู‡ุง
343
00:28:07,100 --> 00:28:11,410
ููŠ ุชุตู…ูŠู… ุชุจุน ุงู„ database ูˆ ุจุฏู†ุง ู†ุถูŠู ุงู„ location ุฃูˆ
344
00:28:11,410 --> 00:28:15,370
ุงู„ classroom ุฅุญู†ุง ุจู†ุนุฑู ุงู„ุทุงู„ุจ ุจูŠุณุฌู„ ููŠ ู…ุณุงู‚
345
00:28:15,370 --> 00:28:20,170
ู…ุณุงู‚ ู‡ุฐุง ู…ุด ู‡ูŠู†ุนู‚ุฏ ููŠ ุงู„ู‡ูˆุงุก ุฃูˆ ููŠ ุงู„ุณุงุญุฉ ูŠุงู„ู„ู‡
346
00:28:20,170 --> 00:28:25,810
classroom ููŠ ู…ุจู†ู‰ ููŠ ู…ูƒุงู† ูˆ ูŠุงู„ู„ู‡ time ู…ูˆุนุฏ ู„ูˆ ุจุฏู‡
347
00:28:25,810 --> 00:28:30,490
ูŠุนู…ู„ ุนู„ุงู‚ุฉ ู‡ุฐู‡ ุนู„ุงู‚ุฉ ุงู„ุทุงู„ุจ ู…ุน ุชุณุฌูŠู„ู‡ ู„ู„ู…ุงุฏุฉ ู…ุน
348
00:28:30,490 --> 00:28:35,070
ู…ูƒุงู†ู‡ ุฒู…ู† ุงู„ู…ุงุฏุฉ ุนู„ุงู‚ุฉ ู‡ุฐู‡ ุซู„ุงุซูŠุฉ
349
00:28:38,080 --> 00:28:40,820
ุฒูŠ ู…ุง ุฅุญู†ุง ุดุงูŠููŠู† ุงู„ student ูˆ ุงู„ course ูˆ ุงู„
350
00:28:40,820 --> 00:28:47,260
classroom ุงู„ุนู„ุงู‚ุฉ ุงู„ุซู„ุงุซูŠุฉ ู‡ุฐู‡ ู…ุด ู‡ู‚ุฏุฑ ุฃุฌูŠ ุฃุทุจู‚ู‡ุง
351
00:28:47,260 --> 00:28:50,580
ููŠ ุงู„ database ุฅู„ุง ุจุฑุถู‡ ุฒูŠ ู…ุง ุนู…ู„ู†ุง ู…ุน ุงู„ many to
352
00:28:50,580 --> 00:28:54,140
many ุฒูŠ ู…ุง ุนู…ู„ู†ุง ู…ุน ุงู„ two side optional ุฅู„ุง ุฃู†ูŠ
353
00:28:54,140 --> 00:29:00,680
ุฃุถูŠู entity set ุฌุฏูŠุฏุฉ ูˆุณูŠุทุฉ ููŠ ุงู„ูˆุณุท ู‡ุณู…ูŠู‡ุง ุงู„
354
00:29:00,680 --> 00:29:04,840
course student classroom ุฃูˆ course student ูู‚ุท
355
00:29:06,880 --> 00:29:10,700
ุจู†ุณู…ูŠู‡ุง ุงู„ุฅุณู… ุงู„ู„ูŠ ุจุฏู†ุง ุฅูŠุงู‡ ูˆ ุจู†ุญุทู‡ุง ููŠ ุงู„ูˆุณุท ุงู„ุขู†
356
00:29:10,700 --> 00:29:14,740
ู‡ุงูŠ ุงู„ ... ุงู„ entity set ุฏู‡ ุฅูŠุด ู‡ุชุญุชูˆูŠ ูƒ primary key
357
00:29:14,740 --> 00:29:20,760
ุฅูŠู‡ ู„ู‡ุง ุซู„ุงุซ ุจูŠุงู†ุงุช ุจุงู„ุถุจุท ุจุฏู‡ุง ุซู„ุงุซ ุจูŠุงู†ุงุช ุจุฏู‡ุง ุฑู‚ู…
358
00:29:20,760 --> 00:29:31,000
ุงู„ student number ูˆ ุจุฏู‡ุง ุงู„ course number ูˆ
359
00:29:31,000 --> 00:29:33,160
ุจุฏู‡ุง ุงู„ classroom
360
00:29:38,410 --> 00:29:44,870
number ุฑู‚ู… ุงู„ู‚ุงุนุฉ ูˆุฑู‚ู…ู‡ุง ูˆู…ูˆุนุฏู‡ุง ุฃูˆ ู…ู…ูƒู† ุฅุฐุง
361
00:29:44,870 --> 00:29:49,970
ุจุฏู†ุง ู†ุณุฌู„ ู…ูˆุงุนูŠุฏ ู†ุญุท ูƒู…ุงู† ุงู„ time ู„ุฃู† ู…ู…ูƒู† ู†ูุณ
362
00:29:49,970 --> 00:29:56,330
ุงู„ู‚ุงุนุฉ ุชู†ุญุฌุฒ ู„ุฃูƒุซุฑ ู…ู† ู…ุณุงู‚ ู„ูƒู† ููŠ ู…ูˆุงุนูŠุฏ ู…ุฎุชู„ูุฉ
363
00:29:56,330 --> 00:30:00,070
ูุงู„ุงุฑุจุน ุจูŠุงู†ุงุช ุฏูˆู„ ุฃุฑุจุนุฉ attributes ู‡ู… ุงู„ู„ูŠ ุจุฏู‡ู…
364
00:30:00,070 --> 00:30:04,870
ูŠูƒูˆู†ูˆุง ููŠ ุงู„ set ุงู„ุฌุฏูŠุฏุฉ ูˆู…ุฌุชู…ุนูŠู† ู…ุน ุจุนุถ combined
365
00:30:04,870 --> 00:30:10,470
ุจุฏู‡ู… ูŠู…ุซู„ูˆุง ุงู„ primary key ุชุจุน ุงู„ entity set ุงู„ุฌุฏูŠุฏ
366
00:30:10,470 --> 00:30:15,450
ุงู„ูƒู„ุงู…
367
00:30:15,450 --> 00:30:23,050
ุงู„ู„ูŠ ุญูƒูŠู†ุง ุนู†ู‡ ุงู„ุขู† ุจุตูŠุบุฉ ุงู„ tables ุนู†ุฏ ุงู„ student
368
00:30:23,050 --> 00:30:28,110
ุฅู„ู‡ ุฑู‚ู… ุงุณู… ูˆ address ูˆ ุงู„ number ู‡ูˆ ุงู„ primary ุงู„
369
00:30:28,110 --> 00:30:33,610
course ุฅู„ู‡ ุฑู‚ู… ูˆ ุงุณู… ูˆ ุนู„ุงู…ุฉ ุฑู‚ู… ุงู„ course ู‡ูˆ ุงู„
370
00:30:33,610 --> 00:30:41,670
primary ุงู„ classroom ู„ู‡ุง ุฑู‚ู… ูˆ ู„ู‡ุง location ุงู„
371
00:30:41,670 --> 00:30:44,950
course student ุงู„ table ุงู„ู„ูŠ ุนู…ู„ู†ุงู‡ุง ุฌุฏูŠุฏ ููŠ ุงู„ูˆุณุท
372
00:30:44,950 --> 00:30:48,170
ุจูŠู† ุงู„ ternary relationship ููŠ ูˆุณุท ุงู„ ternary ุจูŠู†
373
00:30:48,170 --> 00:30:53,290
ุงู„ุซู„ุงุซ entities ู‡ุฏูˆู„ ุซู„ุงุซ entities ู‡ุฏูˆู„ ู‡ู†ุฑุจุทู‡ู… ู…ู†
374
00:30:53,290 --> 00:30:58,890
ุฎู„ุงู„ ุงู„ intercept ุงู„ุฌุฏูŠุฏ ู‡ุงูŠ ู‡ู†ุญุท ููŠู‡ุง ุงู„ student
375
00:30:58,890 --> 00:31:08,960
number ุงู„ course number ุฑู‚ู… ุงู„ู‚ุงุนุฉ ูˆ time ุงู„ุซู„ุงุซุฉ
376
00:31:08,960 --> 00:31:13,200
foreign keys ู…ุฌุชู…ุนูŠู† ู…ุน ุจุนุถ ุจูŠู…ุซู„ูˆุง ุงู„ primary key
377
00:31:13,200 --> 00:31:19,660
ุนุดุงู†ูƒ ุงู„ุฎุท ุฌุงูŠ ุนู„ูŠู‡ู… ูƒู„ู‡ู… ููŠ ุฅูŠุด ุตุงูŠุฑุŸ
378
00:31:31,600 --> 00:31:34,660
ู„ูˆ ูƒุงู†ุช ุงู„ุนู„ุงู‚ุฉ ุจูŠู† ุฃุฑุจุน entities ุณุชุณ ุจู†ุณู…ูŠู‡ุง
379
00:31:34,660 --> 00:31:37,780
Quaternary
380
00:31:37,780 --> 00:31:42,340
ู…ุด ู‡ูŠู…ุฑูˆุง ู…ุนุงูƒู… ุนู„ุงู‚ุงุช ุจู‡ุฐุง ุงู„ุดูƒู„ ู„ูƒู† ู…ู† ุจุงุจ
381
00:31:42,340 --> 00:31:45,660
ุงู„ู…ุนุฑูุฉ ูƒุงุณู… ุนุดุงู† ู„ูˆ ุฃุฌูŠ ุณุคุงู„ multiple choiceุŒ
382
00:31:45,660 --> 00:31:49,860
ุณุคุงู„ true and false ุงู„ุนู„ุงู‚ุฉ ุจูŠู† four entities
383
00:31:49,860 --> 00:31:55,720
ุจู†ุณู…ูŠู‡ุง ุฅูŠุดุŸ Quaternary ูˆ Quaternary ุงู„ุขู† ุจุฏู†ุง
384
00:31:55,720 --> 00:31:58,120
ู†ุจุฏุฃ ู†ู†ูƒุณ ูƒู„ ุงู„ู„ูŠ ุฃุฎุฐู†ุงู‡ ููŠ ุงู„ู…ุญุงุถุฑุฉ ู‡ุฐู‡ุŒ
385
00:31:58,120 --> 00:32:03,920
ุงู„ู…ุญุงุถุฑุชูŠู† ุงู„ุณุงุจู‚ุชูŠู† ููŠ ู…ุซุงู„ ุนู…ู„ูŠ ุฃู†ู‡ ู†ุฃุฎุฐ ู…ุซุงู„ ุจุฏู†ุง
386
00:32:03,920 --> 00:32:08,400
ู†ุนู…ู„ู‡ design study case ุจุฏู†ุง ู†ุญู„ู„ู‡ุง ุฎุทูˆุฉ ุฎุทูˆุฉ ูˆ
387
00:32:08,400 --> 00:32:12,440
ู†ุฑุณู… ุงู„ diagram ูƒุงู…ู„ ู…ุด ู†ุฑุณู… ุจุณ ู‚ุทุนุชูŠู† ู„ุฃ ุจุฏู†ุง
388
00:32:12,440 --> 00:32:16,400
ู†ุฑุณู… ุงู„ diagram ูƒู„ู‡ ู…ุทู„ูˆุจ ู…ู†ูŠ ููŠ ุงู„ุณุคุงู„ ุฃู†ู‡ ู†ุนู…ู„
389
00:32:16,400 --> 00:32:21,660
draw ู„ ER diagram for the following case ุงู„ case
390
00:32:21,660 --> 00:32:27,360
ู‡ุฐู‡ ููŠู‡ุง company ุชุนู…ู„ projects a company do
391
00:32:27,360 --> 00:32:33,120
projects many employees assigned for a project
392
00:32:33,120 --> 00:32:39,080
ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู…ูˆุธููŠู† ุจู†ุญุทู‡ู… ููŠ one project no
393
00:32:39,080 --> 00:32:43,020
employee work for more than one project ุฅุฐุง
394
00:32:43,020 --> 00:32:45,000
ุงู„ุนู„ุงู‚ุฉ ุจูŠู† ุงู„ project ูˆ ุงู„ employee ุฅูŠุด ุจูŠูƒูˆู†
395
00:32:45,000 --> 00:32:50,980
ู†ูˆุนู‡ุงุŸ one to many one project many employees ู‡ู„
396
00:32:50,980 --> 00:32:55,700
ู…ู…ูƒู† ุงู„ employee ูŠูƒูˆู† ููŠ ุฃูƒุซุฑ ู…ู† projectุŸ ู„ุฃ ุฅุฐุง
397
00:32:55,700 --> 00:32:58,640
ุงู„ุนู„ุงู‚ุฉ ู…ุด many to many ุทูŠุจ ุฃูˆู„ ู†ู‚ุทุฉ ุณู‡ู„ุฉ ู…ุฏุงู…
398
00:32:58,640 --> 00:33:03,140
one to many ู…ู…ูƒู† ู†ุฑุณู…ู‡ุง ุจุณู‡ูˆู„ุฉ ุงู„ุนู„ุงู‚ุฉ ุงู„ู„ูŠ ุจุนุฏูŠู‡ุง
399
00:33:03,140 --> 00:33:08,500
each employee belongs to one department ุจุฑุถู‡ ุตุนุจุฉ
400
00:33:08,500 --> 00:33:13,740
ุฅูŠุด ู‡ุฐู‡ ุงู„ุนู„ุงู‚ุฉ one
401
00:33:13,740 --> 00:33:16,840
to many ุงู„ุนู„ุงู‚ุฉ ู‡ุฐู‡ ุงู„ department ููŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„
402
00:33:16,840 --> 00:33:18,600
employees ุจุณ ุงู„ employee ู…ู…ู†ูˆุน ูŠูƒูˆู† ุฅู„ุง ููŠ
403
00:33:18,600 --> 00:33:22,080
department ูˆุงุญุฏ one to many ุฒูŠ ุนู„ุงู‚ุฉ student ู…ุน ุงู„
404
00:33:22,080 --> 00:33:29,240
department one to many ุทูŠุจ projects need parts ุฌู…ุน
405
00:33:29,240 --> 00:33:33,560
ู…ุน ุฌู…ุน projects parts many to many ู‡ุฐู‡ ุฃูˆู„ ุนู„ุงู‚ุฉ
406
00:33:33,560 --> 00:33:39,060
ุจุฏู†ุง ุฅูŠุด ู†ุฑูƒุฒ ููŠู‡ุง ุจุฏู‡ ุญู„ ู†ุถูŠู weak entity ููŠ
407
00:33:39,060 --> 00:33:44,080
ุงู„ูˆุณุท ุทูŠุจ certain suppliers provide the parts ููŠ
408
00:33:44,080 --> 00:33:48,500
ุนู†ุฏูŠ suppliers ููŠ
409
00:33:48,500 --> 00:33:53,260
ุนู†ุฏูŠ suppliers ุจูŠู‚ุฏู…ูˆู„ูŠ parts ู„ูˆ ุญุทูŠุช ุฅูŠุฏูŠ ุนู„ู‰ ูƒู„ู…ุฉ
410
00:33:53,260 --> 00:33:56,860
certain ุงู„ุนู„ุงู‚ุฉ many to many providers ุจุชุนุทูˆู†ูŠ
411
00:33:56,860 --> 00:34:03,340
parts ุฒูŠ projects ูˆ parts ุจุณ ูƒู„ู…ุฉ certain certain
412
00:34:03,340 --> 00:34:06,940
providers ุจุณ providers ู…ุญุฏุฏูŠู† ุงู„ู„ูŠ ุจูŠู‚ุฏู…ูˆุง ุงู„
413
00:34:06,940 --> 00:34:10,180
parts ูŠุนู†ูŠ ุฅุฐุง ููŠ ุนู†ุฏูŠ provider ุจู‚ุฏู…ู„ูŠ ู‚ุทุน ุนู„ู‰
414
00:34:10,180 --> 00:34:13,800
ุงู„ูƒู…ุจูŠูˆุชุฑุงุช ู…ุง ููŠุด provider ุซุงู†ูŠ ุบูŠุฑู‡ ุฅุฐุง ูุฅู†ูŠ ุนู†ุฏูŠ
415
00:34:13,800 --> 00:34:17,700
provider ุจูŠุนุทูŠู†ูŠ ู‚ุทุน ู„ู„ุณูŠุงุฑุงุช ู…ุง ููŠุด provider ุบูŠุฑู‡
416
00:34:17,700 --> 00:34:22,420
certain providers ูุงู„ุนู„ุงู‚ุฉ one to many ู„ู„ุชูˆุถูŠุญ
417
00:34:22,420 --> 00:34:29,140
ุขุฎุฑ ุดูŠุก a part may contain other parts ุงู„ูƒู…ุจูŠูˆุชุฑ
418
00:34:29,140 --> 00:34:32,860
part ุฌูˆุง hard disk ูˆ RAM ูˆ CPU ูˆ motherboard ู‡ุฏูˆู„
419
00:34:32,860 --> 00:34:36,040
ุงู„ parts contained ูˆูŠู† ุฌูˆุง ุงู„ part ุงู„ุฃูƒุจุฑ ุงู„ู„ูŠ ู‡ูˆ
420
00:34:36,040 --> 00:34:40,480
ู…ุซู„ุง ุงู„ูƒู…ุจูŠูˆุชุฑ ูู‡ุฐู‡ ุนู„ุงู‚ุฉ one to many ุจุณ ุฅูŠุด
421
00:34:41,360 --> 00:34:45,260
recursive ุจุงู„ุถุจุท ุงู„ุนู„ุงู‚ุฉ recursive ุจุฏู†ุง ู†ุฑุณู…
422
00:34:45,260 --> 00:34:50,980
ุงู„ูƒู„ุงู… ู‡ุฐุง ุฎุทูˆุฉ ุฎุทูˆุฉ ุฃูˆู„ ุฎุทูˆุฉ ุฃู†ู‡ ููŠ ุนู†ุฏูŠ project
423
00:34:50,980 --> 00:34:54,400
ููŠ employees ุงู„ุนู„ุงู‚ุฉ ุจูŠู†ู‡ู… one to many ุฒูŠ ู…ุง ุญูƒูŠู†ุง
424
00:34:54,400 --> 00:34:58,080
ุงู„ employee ูู‚ุท ุฅู„ูˆ one project ูุญุฑุตู‡ู… ุฃู†ุช ุงู„ุณุช
425
00:34:58,080 --> 00:35:02,560
ุงุณู…ู‡ุง employee ุฃู†ุช ุงู„ุณุช ุงุณู…ู‡ุง project ูˆุงู„ุนู„ุงู‚ุฉ
426
00:35:02,560 --> 00:35:07,420
ุจูŠู†ู‡ู… works in ุงู„ employee works in project one to
427
00:35:07,420 --> 00:35:12,010
many ู†ุฑุฌุน ู†ุฐูƒุฑ ุจุณ ุงุญู†ุง ู„ู„ุชุณู‡ูŠู„ ูˆุงู„ุชุฎููŠู ููŠ ุงู„ุฑุณู…
428
00:35:12,010 --> 00:35:16,010
ุงู„ุฃุตู„ ูŠูƒูˆู† ุนู†ุฏูŠ ููˆู‚ ุงู„ูƒู„ู…ุฉ ู‡ูŠ ุงู„ู„ูŠ ุจุชูˆุตู ุงู„ุนู„ุงู‚ุฉ
429
00:35:16,010 --> 00:35:20,190
ุงู„ู…ุนูŠู† ุชุจุน ุงู„ relation ุฅู†ู†ุง ุญูƒูŠู†ุง entity relation
430
00:35:20,190 --> 00:35:25,970
entity ุจุณ ุงุญู†ุง ู„ู„ุชุณู‡ูŠู„ ุจู†ุดูŠู„ ุงู„ุฑุณู…ุฉ ุงู„ู…ุนูŠู† ูˆุจู†ุฎู„ูŠ
431
00:35:25,970 --> 00:35:29,350
ุจุณ ุงู„ู„ูŠ ู‡ูŠ ุงู„ูƒู„ู…ุฉ ุงู„ูุนู„ ุงู„ action ุงู„ relation ุงู„ู„ูŠ
432
00:35:29,350 --> 00:35:34,330
he works in ุตุนุจุŸ
433
00:35:35,510 --> 00:35:38,470
ุฃูŠ ุฃูˆู„ ุนู„ุงู…ุฉ ููŠ ุงู„ุณุคุงู„ ุฃุฎุฐู†ุงู‡ุง ุฅุฐุง ุงู„ุณุคุงู„ ู…ุซู„ุง ูƒุงู†
434
00:35:38,470 --> 00:35:43,190
ุฎู…ุณุฉ points ุฎู…ุณ ุฃูุฑุน ุฃูŠ ุฃูˆู„ ูุฑุน ุฃุฎุฐู†ุงู‡ุง ุนู„ู‰ ุงู„ุณุฑูŠุน
435
00:35:43,190 --> 00:35:47,790
ุงู„ูุฑุน ุงู„ู„ูŠ ุจุนุฏู‡ ุญูƒูŠู†ุง ุงู„ employee belongs to one
436
00:35:47,790 --> 00:35:51,630
department ู‡ุงูŠ ุงู„ employee ุจุฏู‡ ูŠูƒูˆู† ููŠ relation
437
00:35:51,630 --> 00:35:56,410
ุจูŠู†ู‡ ูˆุจูŠู† ุงู„ department ุงู„ุนู„ุงู‚ุฉ ุงู†ู‡ belongs to one
438
00:35:56,410 --> 00:36:01,090
to many ุงู„ department ููŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู…ูˆุธููŠู† ุฃูŠ
439
00:36:01,090 --> 00:36:01,730
ุซุงู†ูŠ ุนู„ุงู…ุฉ
440
00:36:04,810 --> 00:36:08,550
ุจุนุฏู‡ุง ุญูƒูŠู†ุง ุฅู† ุงู„ projects need parts ูŠุนู†ูŠ ููŠ
441
00:36:08,550 --> 00:36:12,230
ุนู„ุงู‚ุฉ ุจูŠู† ุงู„ project ูˆ ุงู„ parts ูˆุญูƒูŠู†ุง projects ูˆ
442
00:36:12,230 --> 00:36:22,270
parts ุงุชู†ูŠู† ุจุตูŠุบุฉ ุงู„ุฌุงู…ุน ุฅุฐุง many to many ุจุนุฏู‡ุง
443
00:36:22,270 --> 00:36:27,090
certain suppliers provide the parts ูŠุนู†ูŠ one to
444
00:36:27,090 --> 00:36:30,130
many ุจูŠู† ุงู„ supplier ูˆ ุจูŠู† ุงู„ part
445
00:36:33,680 --> 00:36:37,660
ุงู„ุขู† ุฃู…ุงู… ุฎูŠุงุฑูŠู† ูŠุง ู…ุง ุจุฏู†ุง ู†ุญู„ ู…ุดูƒู„ุฉ ุงู„ part to
446
00:36:37,660 --> 00:36:42,040
project ูˆุจู†ูƒู…ู„ ุงู„ุณุคุงู„ ุฃูˆ ุจุฏู†ุง ู†ุนู…ู„ ุขุฎุฑ ุฎุทูˆุฉ ุงู„ู„ูŠ
447
00:36:42,040 --> 00:36:49,020
ู‡ูŠ part contains parts ุนู„ุงู‚ุฉ recursive ุงู„ part ู…ุน
448
00:36:49,020 --> 00:36:55,800
ู†ูุณู‡ุง ุตุญ ุงู„ parts may contain parts ุนู„ุงู‚ุฉ
449
00:36:55,800 --> 00:36:59,760
recursive ุฃูˆ ุฅู†ู†ุง ู†ุญู„ ู…ุดูƒู„ุฉ ุงู„ many to many ุฎู„ูŠู†ุง
450
00:36:59,760 --> 00:37:06,000
ู†ุญู„ ุฃูˆู„ุงู‹ ู…ุดูƒู„ุฉ ุงู„ many to many ู‡ู†ุฌูŠ ู†ุนู…ู„ entity
451
00:37:06,000 --> 00:37:09,760
ุฌุฏูŠุฏุฉ ู†ุณู…ูŠู‡ุง ุฃูŠ ุงุณู… ุจุฏู†ุง ูŠุง ุจุณ ู†ุฎุชุงุฑ ุงุณู… ู…ู†ุงุณุจ
452
00:37:09,760 --> 00:37:14,140
ู‡ู†ุณู…ูŠู‡ุง project parts ูŠุนู†ูŠ ุงู„ู‚ุทุน ุงู„ุฎุงุตุฉ ููŠ ุงู„
453
00:37:14,140 --> 00:37:17,880
projects ู‡ุชุตูŠุฑ ุนู„ุงู‚ุฉ one to many ูˆ one to many
454
00:37:17,880 --> 00:37:21,520
ู‡ู†ุงุฎุฏ primary key ู…ู† ู‡ุฐู‡ ู†ุญุทู‡ ูƒ foreign ูˆ primary
455
00:37:21,520 --> 00:37:24,160
key ู…ู† ุงู„ projects ู†ุญุทู‡ ูƒ foreign ูˆุงู„ุฃุซู†ูŠู† ู…ุน ุจุนุถ
456
00:37:24,160 --> 00:37:30,050
combined primary key ูˆู„ุงุญุธูˆุง ู„ุญุฏ ุงู„ุขู† ูƒู„ ุงู„ุฑุณู…
457
00:37:30,050 --> 00:37:33,330
ุงู„ู„ูŠ ุฑุณู…ู†ุงู‡ ูู‚ุท entities ูˆ relations ู…ุนู…ู„ู†ุงุด
458
00:37:33,330 --> 00:37:36,850
attributes ูŠุนู†ูŠ ู…ุง ุฌูŠู†ุงุด ุญูƒูŠู†ุง ุงู„ employee ููŠู‡ ู„ู‡
459
00:37:36,850 --> 00:37:40,950
SSN ุงู„ู„ูŠ ู‡ูˆ social security number ูŠุนู†ูŠ ุฑู‚ู… ู‡ูˆูŠุฉ ูˆ
460
00:37:40,950 --> 00:37:45,430
ุนู…ู„ู†ุงู‡ primary key ูˆู…ุง ุฌูŠู†ุงุด ุญูƒูŠู†ุง ููŠู‡ ู„ู‡ name ูˆู„ุง
461
00:37:45,430 --> 00:37:51,250
ุงุชูƒู„ู…ู†ุง ุฅู† ู„ู‡ ู…ุซู„ุง age ุนู…ุฑ ุฃูˆ day of birth ุชุงุฑูŠุฎ
462
00:37:51,250 --> 00:37:54,790
ู…ูŠู„ุงุฏ ูƒู„ู…ู†ุงุด ุนู† ุงู„ูƒู„ุงู… ู‡ุฐุง ูƒู„ู‡ ุงู„ูƒู„ุงู… ู‡ุฐุง ูƒู„ู‡
463
00:37:54,790 --> 00:37:59,000
attributes ุจู†ุฑุณู…ู‡ุง ููŠ ุฅูŠุด ููŠ ovals ุฃุดูƒุงู„ ุจูŠุถุงูˆูŠุฉ
464
00:37:59,000 --> 00:38:05,140
ู…ุง ุชูƒู„ู…ู†ุงุด ุนู†ู‡ุง ู„ุฅู† ุงู„ุณุคุงู„ ูƒุงู† simple ู…ุง ุญูƒุงุด ุนู†ู‡ุง
465
00:38:05,140 --> 00:38:08,280
ู…ุง ููŠุด ุฏุงุนูŠ ุฅู† ุฃุบู„ุจ ุญุงู„ูŠ ุฅุฐุง ุงู„ุณุคุงู„ ู…ุด ุทุงู„ุจ ู…ู†ูŠ
466
00:38:08,280 --> 00:38:13,200
ู…ุง ููŠุด ุฏุงุนูŠ ุฅู† ุฃุบู„ุจ ุญุงู„ูŠ ูˆุฃุฑุณู… ุฃู†ุง ุขุฎุฑ ู†ู‚ุทุฉ ุถู„ุช
467
00:38:13,200 --> 00:38:17,470
ุนู†ุฏูŠ ุจุนุฏ ู…ุง ุนุงู„ุฌุช ุงู„ many to many relation ุจุฅู†ูŠ
468
00:38:17,470 --> 00:38:22,370
ุนู…ู„ุช ุงู„ projects parts linked entity set ุฌุฏูŠุฏุฉ ุจุฏูŠ
469
00:38:22,370 --> 00:38:28,310
ุฃุนู…ู„ู‡ recursive ุชุจุน ุงู„ parts ุญูŠุซ ุฅู† ุงู„ part ุชุญุชูˆูŠ
470
00:38:28,310 --> 00:38:34,150
ุนู„ู‰ parts part of one to many ุฑุงุฌุน ุนู„ู‰ ู†ูุณู‡ุง one
471
00:38:34,150 --> 00:38:37,210
to many ุงู„ part ุงู„ูˆุงุญุฏุฉ ู…ู…ูƒู† ูŠูƒูˆู† ุฌูˆุงู‡ุง ุฃูƒุซุฑ ู…ู† ุงู„
472
00:38:37,210 --> 00:38:41,390
part sub parts recursive
473
00:38:41,390 --> 00:38:47,680
relationship ู‡ุฐุง ุงู„ุณุคุงู„ ู‡ูŠูƒ ุฎู„ุต ุงู„ case ู‡ูŠ very
474
00:38:47,680 --> 00:38:52,340
simple ูู‡ูŠ ุงู„ straightforward ูˆุงุถุญุฉ ููŠ ุญุฏ ุงู„ู„ูŠ
475
00:38:52,340 --> 00:39:00,720
ุงุณุชูุณุงุฑ ุนู†ู‡ุง ุฃุฑุฏ ุฃุดุฑุญ ู†ู‚ุทุฉ ู…ุนูŠู†ุฉ ูŠุนู†ูŠ
476
00:39:00,720 --> 00:39:07,300
ู„ูˆ ุงุญู†ุง ุญูƒูŠู†ุง ู‡ู†ุง ููŠ ุนู†ุฏูŠ ู…ุดุฑูˆุน ุจู†ุงุก ู…ุจู†ู‰ C ูˆุนู†ุฏูŠ
477
00:39:07,300 --> 00:39:14,570
ู…ุดุฑูˆุน ุซุงู†ูŠ ุชุทูˆูŠุฑ ู…ุจู†ู‰ L ูˆุนู†ุฏูŠ ู…ุดุฑูˆุน ุฅู†ุดุงุก ู…ุฎุชุจุฑ
478
00:39:14,570 --> 00:39:23,590
ุฌุฏูŠุฏ ููŠ ู…ุจู†ู‰ K ุชู„ุงุช ู…ุดุงุฑูŠุน ูˆููŠ ุนู†ุฏูŠ parts ููŠ ุนู†ุฏูŠ
479
00:39:23,590 --> 00:39:26,010
ู…ุซู„ุง ู…ู† ุถู…ู† ุงู„ parts ููŠ ุนู†ุฏูŠ ูƒู…ุจูŠูˆุชุฑุงุช ููŠ ุนู†ุฏูŠ
480
00:39:26,010 --> 00:39:30,910
ู…ุตุงุนุฏ ููŠ ุนู†ุฏูŠ ู„ูˆุญุงุช
481
00:39:30,910 --> 00:39:36,990
whatever ูƒู‡ุฑุจุง ุฃูŠ ู‚ุทุนุฉ ูƒุฑุงุณูŠ ู…ูƒุงุชุจ ุงุนุชุจุฑูˆุง ู‡ุฐู‡
482
00:39:36,990 --> 00:39:43,600
ูƒู„ู‡ุง ู‚ุทุนุฉ parts ุงู„ู…ุจู†ู‰ ุงู„ุฃูˆู„ ุจุฏู‡ ุฎุฒุงู†ุฉ ุนุฏุฏ ู…ู†ู‡ุง
483
00:39:43,600 --> 00:39:54,580
ุทุจุนุง ูˆุจุฏู‡ ู…ุซู„ุง ุทุงูˆู„ุงุช ูˆุจุฏู‡ ูƒู…ุงู† laptop ุงู„ุชุทูˆูŠุฑ
484
00:39:54,580 --> 00:39:58,700
ู„ู„ู…ุจู†ู‰ ุงู„ู„ูŠ ุจุนุฏู‡ ู†ูุฑุถ ุจุฏู‡ ู†ูุณ ุงู„ุดูŠุก ุจุฏู‡ ุฎุฒุงู†ุฉ ูˆ
485
00:39:58,700 --> 00:40:03,740
ุจุฏู‡ ุทุงูˆู„ุงุช ูˆู…ุง ุจุฏู‡ ุจุงู‚ูŠ ุงู„ุฃู…ูˆุฑ ู…ุฎุชุจุฑ ุฌุฏูŠุฏ ุจุฏู‡
486
00:40:03,740 --> 00:40:05,020
laptops
487
00:40:07,770 --> 00:40:13,530
ูƒูŠู ุฏู‡ ุฃุฑุจุท ุจูŠู†ู‡ู…ุŸ ุฅุฐุง ุจุชูƒูˆู† ุนู„ุงู‚ุฉ ู…ุจุงุดุฑุฉ ุจูŠู† ุงู„
488
00:40:13,530 --> 00:40:18,410
projects ูˆุจูŠู† ุงู„ parts ุตุงุฑ ุนู†ุฏ ุงู„ู…ุจู†ู‰ ุทู„ุน ูƒู…
489
00:40:18,410 --> 00:40:25,110
value multi value many to many ู‡ุงูŠ ุงุณู… ุงู„ู…ุจู†ู‰ ูˆ
490
00:40:25,110 --> 00:40:29,670
ุงู„ parts ุงู„ู„ูŠ ููŠู‡ ูƒู… .. ูƒู… ูˆุงุญุฏุฉ ุฃูˆ ุชู„ุงุชุฉ ุฃู†ุง
491
00:40:29,670 --> 00:40:32,930
ุงุชู†ูŠู† ูˆู…ู…ูƒู† ุชูƒูˆู† ุนุดุฑุฉ ุญูƒูŠู†ุง ุงู„ multi value ุจุนู…ู„ู†ุง
492
00:40:32,930 --> 00:40:39,090
ู…ุดูƒู„ุฉ ุจุฏู†ุง ููŠ ูƒู„ column ูู‚ุท ุงู„ู„ูŠ ู‡ูˆ ุฑู‚ู… ูˆุงุญุฏ ูุงู„ุญู„
493
00:40:39,090 --> 00:40:45,330
ุฅู† ุฃุนู…ู„ table ุฌุฏูŠุฏ entity set ุฌุฏูŠุฏุฉ ู…ู‚ุณูˆู…ุฉ ูู‚ุท ู†ุตูŠู†
494
00:40:45,330 --> 00:40:52,090
ููŠ ุงู„ุฌุฒุก ุงู„ูˆุงุญุฏุฉ ุจูƒุชุจ ุฑู‚ู… ุงู„ project ูู‚ุท ุฑู‚ู…ู‡ ูˆููŠ
495
00:40:52,090 --> 00:40:58,990
ู‡ุฐู‡ ุงู„ุฌู‡ุฉ ุจุฏุง ุงูƒุชุจ ุงู„ู„ูŠ ู‡ูˆ part number ูุญุงุฌุฉ
496
00:40:58,990 --> 00:41:04,070
ุฃุญุท ู…ุซู„ุง ุญูƒูŠู†ุง ู…ุจู†ู‰ C ุฑู‚ู…ู‡ C ุญุงุฌุฉ ุฃุญูƒูŠ C ู…ุซู„ุง
497
00:41:04,070 --> 00:41:09,440
ุงู„ุฎุฒุงู†ุฉ ุฑู‚ู…ู‡ุง ูˆุงุญุฏ ุงู„ุทุงูˆู„ุฉ ุฑู‚ู…ู‡ุง ุงุชู†ูŠู† ุงู„ู„ุงุจุชูˆุจ
498
00:41:09,440 --> 00:41:16,060
ุฑู‚ู…ู‡ ุชู„ุงุชุฉ ุจุนุฏูŠู‡ุง ู…ุจู†ู‰ L ุงู„ุฎุฒุงู†ุฉ ูƒุงู… ุฑู‚ู…ู‡ุง ูˆุงุญุฏ
499
00:41:16,060 --> 00:41:22,300
ูƒุงู†ุช ุงู„ุทุงูˆู„ุฉ ุฑู‚ู…ู‡ุง ุงุชู†ูŠู† ุขุฎุฑ ุดูŠ ู…ุจู†ู‰ K ูƒุงู… ุฑู‚ู…
500
00:41:22,300 --> 00:41:23,560
ุงู„ู„ุงุจุชูˆุจ ุชู„ุงุชุฉ
501
00:41:27,410 --> 00:41:29,930
many to many ุงู„ bar ู…ู…ูƒู† ุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ ููŠ ุฃูƒุซุฑ ู…ู†
502
00:41:29,930 --> 00:41:33,470
ุงู„ project ูˆุงู„ project ููŠู‡ ุฃูƒุซุฑ ู…ู† ุงู„ bar ุงู„ุญู„ ุฅู†
503
00:41:33,470 --> 00:41:37,390
ุฃุนู…ู„ table ุจุงู„ุดูƒู„ ู‡ุฐุง entity set ุฌุฏูŠุฏุฉ ููŠู‡ุง ุงู„ุฑู‚ู…ูŠู† ู…ุน
504
00:41:37,390 --> 00:41:40,550
ุจุนุถ ูˆู…ุง ุจุฏูŠุด ุจุงู‚ูŠ ุงู„ุชูุงุตูŠู„ ูŠุนู†ูŠ ุจุฃู†ู†ูŠ ู…ุด ุฃุนุฑู ู…ูŠู†
505
00:41:40,550 --> 00:41:43,970
ู…ุฏูŠุฑ ุงู„ู…ุดุฑูˆุน ุฃูˆ ูƒุงู… ุฒู…ู† ุงู„ู…ุดุฑูˆุน ุฃูˆ ูƒุงู… ุงู„ budget
506
00:41:43,970 --> 00:41:48,830
ุจุชุงุนุชู‡ ุงู„ูƒู„ุงู… ู‡ุฏูˆู„ ู‡ูŠูƒูˆู† ููŠ ุงู„ project ู…ุด ููŠ ุงู„
507
00:41:48,830 --> 00:41:51,250
project part ุงู„ project part ุจุณ ุจุฏู‡ ูŠุฑุจุท ุจูŠู†
508
00:41:51,250 --> 00:41:55,670
ุงู„ุงุชู†ูŠู† ุจุงู„ุดูƒู„ ู‡ุฐุง ูู‚ุท ุจุงู‚ูŠ ู…ุนู„ูˆู…ุงุช ุงู„ project
509
00:41:56,740 --> 00:42:00,800
ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ project ุงู„ part ุณุนุฑู‡ุง ู…ูŠู† ุงู„ุชุงุฌุฑ ุงู„ู„ูŠ
510
00:42:00,800 --> 00:42:05,040
ุจูŠุฌูŠุจู„ูŠ ุฅูŠุงู‡ุง ู…ุฏุฉ ุตู„ุงุญูŠุชู‡ุง ุฒูŠ ุงู„ู„ูŠ ู‡ูŠ ู…ุฏุฉ ุตู„ุงุญูŠุฉ
511
00:42:05,040 --> 00:42:09,240
ูƒู„ ู‡ูŠูƒูˆู† ูˆูŠู† ููŠ ุงู„ part ููŠ ุงู„ attributes ุจุชุงุนุฉ ุงู„
512
00:42:09,240 --> 00:42:11,940
part ู…ุด ููŠ ุงู„ project part ููŠ ุงู„ project part ูู‚ุท
513
00:42:11,940 --> 00:42:18,380
ุฑู‚ู… ุงู„ part ู…ุน ุฑู‚ู… ุงู„ project ุฃุฌูŠุจู‡ู… ู…ุน ุจุนุถ ู‡ูŠูƒ ูƒู„
514
00:42:18,380 --> 00:42:22,460
ุดูŠ ูˆุงุถุญ ุทูŠุจ
515
00:42:23,750 --> 00:42:28,730
ุงุญู†ุง ูŠูุชุฑุถ ุฅู†ู†ุง ู†ูƒู…ู„ ููŠ case ุซุงู†ูŠุฉ ุงู„ case ุงู„ุซุงู†ูŠุฉ
516
00:42:28,730 --> 00:42:35,190
ู‡ู†ุงุฎุฏู‡ุง ุงู„ู…ุฑุฉ ุงู„ุฌุงูŠ ู…ุด ุงู„ุขู† ู‡ู†ุดุฑุญู‡ุง ุจุณ ู‡ุชูƒูˆู†
517
00:42:35,190 --> 00:42:38,650
ู…ูˆุฌูˆุฏุฉ ุนู„ู‰ ุงู„ model ุฅู† ุดุงุก ุงู„ู„ู‡ ุจู†ู‡ุงูŠุฉ ุงู„ูŠูˆู… ุจุชู…ู†ู‰
518
00:42:38,650 --> 00:42:42,310
ุฅู†ูƒู… ุชุชุทู„ุนูˆุง ุนู„ูŠู‡ุง ูˆุชุดูˆููˆุง ูƒูŠู ู‡ู†ุนุงู„ุฌ ู…ุดูƒู„ุฉ ุฌุฏูŠุฏุฉ
519
00:42:42,310 --> 00:42:46,110
ูˆ case ุฌุฏูŠุฏุฉ ู‡ู†ุถูŠู ููŠู‡ุง attributes ู…ุด ุจุณ ู‡ู†ูƒุชููŠ
520
00:42:46,110 --> 00:42:48,650
ุจุงู„ entity ูˆ ุงู„ relation ู‡ู†ุถูŠู ุนู„ู‰ ูƒู„ entity ุงู„
521
00:42:48,650 --> 00:42:49,330
attributes ุฐุงุชู‡ุง