abdullah's picture
Add files using upload-large-folder tool
c8e55bd verified
raw
history blame
59.4 kB
1
00:00:20,330 --> 00:00:23,570
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ููŠ ุงู„ู…ุญุงุถุฑุฉ ุงู„ู…ุงุถูŠุฉ ุดุฑุญู†ุง
2
00:00:23,570 --> 00:00:28,890
ุงู„ู€ foreign key ูˆ ุงู„ู€ referential integrity ุญูƒูŠู†ุง ุฃู†
3
00:00:28,890 --> 00:00:32,110
ุงู„ู€ foreign key ู‚ูŠู…ุชู‡ ู…ู…ูƒู† ุชุชูƒุฑุฑ ููŠ ุงู„ุฌุฏูˆู„ ุงู„ู„ูŠ ู‡ูˆ
4
00:00:32,110 --> 00:00:35,570
ู…ูˆุฌูˆุฏ ููŠู‡ foreign key ู…ุซู„ุง ู‡ูˆ ุฑู‚ู… ุงู„ุทุงู„ุจ ููŠ ุฌุฏูˆู„
5
00:00:35,570 --> 00:00:38,910
ุชุณุฌูŠู„ ุงู„ู…ุณุงู‚ุงุช ุงู„ู€ enrolled table ุฃูˆ ุงู„ู€ enrolled
6
00:00:38,910 --> 00:00:46,130
relation ุนู†ุฏู†ุง ุฑู‚ู… ุงู„ุทุงู„ุจ 536666 ู…ูƒุฑุฑ ุชู„ุช ู…ุฑุงุช
7
00:00:46,130 --> 00:00:50,080
ู…ุง ููŠุด ุฃูŠ ู…ุดูƒู„ุฉ ู„ูƒู† ุงู„ู€ foreign key ู‡ุฐุง ููŠ ุงู„ุฃุตู„ ู‡ูˆ
8
00:00:50,080 --> 00:00:53,840
ุจูŠุนู…ู„ referencing ู„ู€ primary key ููŠ ุฌุฏูˆู„ ุชุงู†ูŠ
9
00:00:53,840 --> 00:00:57,760
ูุงุญู†ุง ุฅู†ู‡ ุฑู‚ู… ุงู„ุทุงู„ุจ ุงู„ู€ student ID ููŠ ุฌุฏูˆู„ ุงู„ุทู„ุงุจ
10
00:00:57,760 --> 00:01:01,680
ู…ุง ุจูŠุชูƒุฑุฑุด ูŠุนู†ูŠ ู†ูุณ ุฑู‚ู… ุงู„ุทุงู„ุจ ู…ุด ู…ูˆุฌูˆุฏ ุฅู„ุง ู…ุฑุฉ
11
00:01:01,680 --> 00:01:05,060
ูˆุงุญุฏุฉ ุจู…ุนู†ู‰ ุฅู†ู‡ ุงู„ุชู„ุงุช ู…ุณุงู‚ุงุช ู‡ุฐู‡ ุงู„ู…ุณุฌู„ุฉ ู‡ุฐุง
12
00:01:05,060 --> 00:01:09,260
ุงู„ุทุงู„ุจ ู…ู…ูƒู† ุฃู† ุฃุนุฑู ุจูŠุงู†ุงุชู‡ ุงู„ู„ูŠ ู‡ูŠ ุงุณู…ู‡ ุงู„ู€ login
13
00:01:09,260 --> 00:01:11,560
ุชุจุนู‡ ุงู„ู€ age ูˆ ุงู„ู€ GPA
14
00:01:14,800 --> 00:01:16,920
ููŠ ุงู„ู€ table ุงู„ู„ูŠ ูƒุงู† ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ table ุงู„ู€
15
00:01:16,920 --> 00:01:19,840
enrolled ูƒุงู† ุงู„ู€ primary key ู…ูŠู† ุจุชุฐูƒุฑ ููŠ ุงู„ู€ table
16
00:01:19,840 --> 00:01:24,500
ู‡ุฐุง ุฅูŠุด ูƒุงู† ุนู†ุฏูŠ ุงู„ู€ primary key ูƒุงู† ุฑู‚ู… ุงู„ุทุงู„ุจ ู…ุน
17
00:01:24,500 --> 00:01:27,900
ุฑู‚ู… ุงู„ู€ course ุงู„ุขู† ุงุญู†ุง ุนู†ุฏู†ุง ุงู„ู„ูŠ ู‡ูˆ ุฑู‚ู… ุงู„ู€ SID
18
00:01:27,900 --> 00:01:31,700
ูƒุงู† foreign key ููŠ ุฌุฏูˆู„ ุงู„ู…ุณุงู‚ุงุช ุงู„ู€ enrolled ููƒุงู†
19
00:01:31,700 --> 00:01:34,680
ู…ุณู…ูˆุญ ู„ู†ุง ุฅู†ู‡ ู†ูƒุฑุฑู‡ ู„ุฃู†ู‡ foreign key ู„ูƒู† ู‡ูˆ ุจูŠุนู…ู„
20
00:01:34,680 --> 00:01:38,580
referencing ู„ู€ primary key ุงู„ู„ูŠ ู‡ูˆ ุจุฑุถู‡ ุฑู‚ู… ุงู„ุทุงู„ุจ
21
00:01:38,580 --> 00:01:41,840
ููŠ ุฌุฏูˆู„ ุงู„ุทู„ุงุจ ุจู…ุง ุฃู†ู‡ primary key ููŠ ุงู„ุฌุฏูˆู„ ุงู„ุชุงู†ูŠ
22
00:01:41,840 --> 00:01:48,200
ูู‡ูŠูƒูˆู† ู…ุง ุจูŠุชูƒุฑุฑุด ู…ุง ู„ูˆุด ุชูƒุฑุงุฑ unique ุงู„ููƒุฑุฉ ุงู„ู„ูŠ
23
00:01:48,200 --> 00:01:52,420
ุนู†ุฏู†ุง ุฅู†ู‡ ูƒู…ุงู† ุนู†ุฏูŠ ุงู„ู€ primary key ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ููŠ
24
00:01:52,420 --> 00:01:55,000
ู‡ุฐุง ุงู„ู€ table ู‡ูˆ ุนุจุงุฑุฉ ุนู† two foreign keys ุฑู‚ู…
25
00:01:55,000 --> 00:01:59,100
ุงู„ุทุงู„ุจ ูˆ ุฑู‚ู… ุงู„ู…ุณุงู‚ combined ู…ุน ุจุนุถ ุจูŠู…ุซู„ ุงู„ู€
26
00:01:59,100 --> 00:02:02,300
primary key ุฒูŠ ู…ุง ุงุญู†ุง ุดุงูŠููŠู† primary key ุจุชูƒูˆู† ู…ู†
27
00:02:02,300 --> 00:02:06,180
ุงู„ุฅุชู†ูŠู† ูŠุนู†ูŠ ู„ูˆ ุทู„ุนุช ุฑู‚ู… ุงู„ุทุงู„ุจ ู‡ุฐุง ุตุญูŠุญ ู…ูƒุฑุฑ ู„ูƒู†
28
00:02:06,180 --> 00:02:10,180
ุฑู‚ู… ุงู„ุทุงู„ุจ ู…ุน ุงู„ู…ุณุงู‚ ุงู„ุฅุชู†ูŠู† ู…ุน ุจุนุถ ู…ุง ุจูŠุชูƒุฑุฑูˆุด ู‡ูŠ
29
00:02:10,180 --> 00:02:12,940
ุงู„ุทุงู„ุจ ูˆู‡ูŠ ุงู„ู…ูˆุงุฏ ุงู„ู„ูŠ ู…ุณุฌู„ู‡ุง ุงู„ุชู„ุงุช ู…ูˆุงุฏ ุงู„ู„ูŠ
30
00:02:12,940 --> 00:02:16,440
ู…ุณุฌู„ู‡ุง ู…ุง ููŠุด ูˆู„ุง ู…ุงุฏุฉ ู†ูุณ ุงู„ู…ุงุฏุฉ ุงู„ุชุงู†ูŠุฉ ู„ู†ูุณ
31
00:02:16,440 --> 00:02:21,700
ุงู„ุทุงู„ุจ ูˆุถุญุช ุฅูŠุด ูŠุนู†ูŠ combined primary key ูŠุนู†ูŠ
32
00:02:21,700 --> 00:02:24,280
ุงู„ู‚ูŠู… ุงู„ุฅุชู†ูŠู† ู…ุน ุจุนุถ ู…ู…ู†ูˆุน ูŠุชูƒุฑุฑูˆุง ู„ูƒู† ุงู„ู€ course
33
00:02:24,280 --> 00:02:29,580
ู„ุญุงู„ู‡ ู…ู…ูƒู† ูŠุชูƒุฑุฑ ุงู„ุทุงู„ุจ ุฑู‚ู…ู‡ ู„ูˆุญุฏู‡ ู…ู…ูƒู† ูŠุชูƒุฑุฑ ู„ูƒู†
34
00:02:29,580 --> 00:02:33,260
ุงู„ุฅุฒุฏูˆุงุฌ ุจูŠู† ุงู„ุฅุชู†ูŠู† ู…ุง ุจูŠุชูƒุฑุฑุด
35
00:02:36,730 --> 00:02:40,590
ุงู„ู€ referential integrity ูƒู…ุงู† ู…ู† ุฃู‡ู… ู…ูŠุฒุงุชู‡ุง ุฅู†ู‡
36
00:02:40,590 --> 00:02:45,790
ุฏุงุฆู…ุง ู„ุงุฒู… must refer to an existing value ููŠ ุงู„ู€
37
00:02:45,790 --> 00:02:52,090
table ุงู„ุชุงู†ูŠ ุงู„ู€ parent table ูŠุนู†ูŠ ุงู„ู€ foreign key
38
00:02:52,090 --> 00:02:55,030
ุชุจุน ุฑู‚ู… ุงู„ุทุงู„ุจ ููŠ ุงู„ู€ enroll table ููŠ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚
39
00:02:55,030 --> 00:03:01,870
ู…ุด ู„ุงุฒู… ูŠุฃุดุฑ ุนู„ู‰ ุทุงู„ุจ ู…ุง ู„ูˆุด ุฑู‚ู… ูŠุนู†ูŠ ู„ูˆ ูƒุงู† ุฑู‚ู…
40
00:03:01,870 --> 00:03:08,670
ุงู„ุทุงู„ุจ ููŠ ู‡ุฐู‡ ุงู„ุฌู‡ุฉ ุฃุฑุจุน ุฎู…ุณุงุช ู‡ู†ุฌูŠ ู†ุทู„ุน ุงู„ุฑู‚ู… ู‡ุฐุง
41
00:03:08,670 --> 00:03:14,510
ู…ูˆุฌูˆุฏ ููŠ ุชุงุจู„ ุงู„ู€ studentsุŸ ู„ุฃ ู„ุฃ ู…ุด ู…ูˆุฌูˆุฏ ุงู„ู†ุชูŠุฌุฉ
42
00:03:14,510 --> 00:03:18,230
ุฃู† ุงู„ู€ database ุงู„ุฃุตู„ ุชู…ู†ุนู†ูŠ ุฃู† ุฃุฏุฎู„ entry ุจู‡ุฐุง
43
00:03:18,230 --> 00:03:21,490
ุงู„ุดูƒู„ ุฃูˆ row ุจู‡ุฐุง ุงู„ุดูƒู„ ุงู„ู€ tuple ุจู‡ุฐุง ุงู„ุดูƒู„ ู…ู…ู†ูˆุน
44
00:03:21,490 --> 00:03:24,490
ุฃุฏุฎู„ู‡ ุงู„ู€ database management system ู‡ูŠุนู…ู„ ู„ูŠู‡
45
00:03:24,490 --> 00:03:28,070
reject ูˆ ู‡ูŠู…ู†ุนู†ูŠ ู„ุฃู† ุงู„ุฑู‚ู… ู‡ุฐุง ู„ุงุฒู… ูŠุฃุดุฑ ุนู„ู‰ ุฑู‚ู…
46
00:03:28,070 --> 00:03:32,830
ู…ูˆุฌูˆุฏ ุฃุตู„ุง ููŠ ุงู„ู€ students ุบูŠุฑ ู‡ูŠูƒ ู…ุด ู‡ูŠุฎู„ูŠู†ูŠ ุฃุฏุฎู„
47
00:03:34,160 --> 00:03:37,480
ู‡ูŠ ู…ุนู†ุงู‡ referential integrity ุฃู†ูŠ ุฃุญุงูุธ ุนู„ู‰ ุตุญุฉ
48
00:03:37,480 --> 00:03:40,480
ุงู„ุจูŠุงู†ุงุช ุฃู† ุงู„ุฃุฑู‚ุงู… ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ู‡ุฐู‡ ุงู„ุฌู‡ุฉ ูƒ
49
00:03:40,480 --> 00:03:44,280
foreign key ุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ ูุนู„ุง ููŠ ุฌู‡ุงุช ุงู„ู€ primary
50
00:03:44,280 --> 00:03:47,840
key ุงู„ู€ table ุงู„ู„ูŠ ุจูŠูƒูˆู† ููŠ ุงู„ู€ field primary key
51
00:03:47,840 --> 00:03:56,220
ุจู†ุณู…ูŠู‡ parent ูˆ ุงู„ู€ table ุงู„ู„ูŠ ุจูŠูƒูˆู† ููŠ ู†ูุณ ุงู„ู‚ูŠู…ุฉ
52
00:03:56,220 --> 00:03:58,220
ูƒู€ foreign key ุจู†ุณู…ูŠู‡ child
53
00:04:01,880 --> 00:04:04,420
ูุญู†ู„ุงู‚ูŠ ุฅู†ู‡ ู†ูุณ ุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ู‡ูŠ ุฑู‚ู… ุงู„ุทุงู„ุจ ููŠ ุงู„ู€ ..
54
00:04:04,420 --> 00:04:07,140
ููŠ ุงู„ู€ .. ููŠ ุงู„ู€ child ู…ุณู…ูˆุญ ุฅู†ู‡ุง ุชุชูƒุฑุฑ ู„ุฅู†ู‡ุง
55
00:04:07,140 --> 00:04:11,140
foreign key ุจูŠู†ู…ุง ููŠ ุงู„ู€ parent ุจุชูƒูˆู† ุฅูŠุด only one
56
00:04:11,140 --> 00:04:14,980
value ู„ุฅู†ู‡ุง primary key ูุจุชูƒูˆู† ุจุณ value ูˆุงุญุฏุฉ ุงู„ู„ูŠ
57
00:04:14,980 --> 00:04:18,000
ู‡ูˆ ู‡ุฐุง ุงู„ุชุนุฑูŠู ุฅู†ู‡ ุฃู†ุง ุนู†ุฏูŠ child table ุงู„ู„ูŠ ู‡ูˆ
58
00:04:18,000 --> 00:04:23,340
ููŠู‡ ุงู„ู€ .. ุงู„ู€ foreign key ุจูŠุฃุดุฑ ุนู„ู‰ row ูˆุงุญุฏ ููŠ ุงู„ู€
59
00:04:23,340 --> 00:04:28,920
parent table ูˆ ุงู„ู€ value ู‡ุฐู‡ must be existent ู„ุงุฒู…
60
00:04:28,920 --> 00:04:39,920
ุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู€ table ุชุจุน ุงู„ู€ parents ู…ุณุฆูˆู„ูŠุฉ
61
00:04:39,920 --> 00:04:44,560
ุฅุฏุฎุงู„ ุงู„ู€ referential integrity ูˆ ุงู„ุชุฃูƒูŠุฏ ุนู„ูŠู‡ุง
62
00:04:44,560 --> 00:04:49,940
ู…ุณุฆูˆู„ูŠุชูŠ ุฃู†ุง ูƒู…ุจุฑู…ุฌ ุฃูˆ DBA ู„ูƒู† ู…ุณุฆูˆู„ูŠุฉ ุงู„ูุญุต ุณุจุนู‡ุง
63
00:04:49,940 --> 00:04:54,320
ูˆ ุงู„ุชุฃูƒุฏ ู…ู†ู‡ุง ู…ุณุฆูˆู„ูŠุฉ ู…ูŠู† ุงู„ู€ DBMS ู…ุณุฆูˆู„ูŠุฉ ุงู„ู€
64
00:04:54,320 --> 00:04:55,940
database management system
65
00:04:59,850 --> 00:05:03,130
ุทุจ ุงุญู†ุง ุจุฏุฃู†ุง ุญูƒูŠู†ุง ุฅู†ู‡ ู„ุงุฒู… ุงู„ู€ value ุชูƒูˆู† ู…ูˆุฌูˆุฏุฉ
66
00:05:03,130 --> 00:05:06,390
ููŠ ุงู„ุฌุฏูˆู„ ุงู„ุชุงู†ูŠ ููŠ ุงู„ู€ parent table ุฃูˆ ููŠ ุงู„ู€
67
00:05:06,390 --> 00:05:11,370
parent relation ุทุจ ู„ูˆ ุฌูŠุช ุฃู†ุง ุญุฐูุช ุงู„ุทุงู„ุจ .. ุขุณู
68
00:05:11,370 --> 00:05:15,370
ู„ูˆ ุฌูŠุช ุฃู†ุง ุฃุฏุฎู„ ุทุงู„ุจ non-existent non-existent
69
00:05:15,370 --> 00:05:18,990
student ุญูƒูŠู†ุง ุงู„ู€ database ุฅูŠุด ู‡ุชุนู…ู„ุŸ reject ู‡ุฐุง
70
00:05:18,990 --> 00:05:21,990
ุงู„ูƒู„ุงู… ุดุฑุญู†ุงู‡ ู…ู† ุงู„ู…ุฑุฉ ุงู„ู…ุงุถูŠุฉ ุฅู†ู‡ ุฃู†ุง ุญุงุฌุฉ ุฃุฏุฎู„
71
00:05:21,990 --> 00:05:25,850
ุทุงู„ุจ ูˆ ุฃุญุท ุงู„ู€ foreign key ู‚ูŠู…ุฉ ุงู„ู€ foreign key ู„ุฑู‚ู…
72
00:05:25,850 --> 00:05:28,490
ู…ุด ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ primary key ููŠ ุงู„ุฌุฏูˆู„ ุงู„ุชุงู†ูŠ ู‡ุชุนู…ู„
73
00:05:28,490 --> 00:05:34,110
ุงู„ู€ reject ุทุจ ู„ูˆ ุตุงุฑ ุงู„ุนูƒุณ ุฃู† ู‡ู… ุฃุตู„ุง ูƒุงู†ูˆุง ุฏุงุฎู„ูŠู†ู‡
74
00:05:34,110 --> 00:05:38,310
ูƒู„ ุดูŠุก ุชู…ุงู… ูˆ ุฌูŠุช ุฃู†ุง ุญุฐูุช ุงู„ุทุงู„ุจ delete ุงู„ู€ tuple
75
00:05:38,310 --> 00:05:42,470
ุชุจุน ุงู„ู€ student ูŠุนู†ูŠ ู‡ุงูŠ ููŠ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ููŠ
76
00:05:42,470 --> 00:05:47,070
ุงู„ุฌุฏูˆู„ ุงู„ู„ูŠ ุนู†ุฏู†ุง ู„ูˆ ุฌูŠู†ุง ุงุญู†ุง ุนู„ู‰ ุฌูˆู†ุฒ ุฌูˆู†ุฒ ุจุทู„
77
00:05:47,070 --> 00:05:51,830
ู…ู† ุงู„ุฌุงู…ุนุฉ ุชุฑูƒ ุงู„ุฌุงู…ุนุฉ ุชูˆูู‰ ุฃุฎุฐ ุฅุฌุงุฒุฉ ุฃูƒุงุฏูŠู…ูŠุฉ ูˆ
78
00:05:51,830 --> 00:05:57,050
ุทู„ุน ุจุฏู†ุง ู†ุญุฐู ุงู„ู€ record ุงู„ู„ูŠ ู„ู‡ ุงู„ุขู† ุถุงูŠู„ ุชู„ุช
79
00:05:57,050 --> 00:06:01,450
ุฃุฑู‚ุงู… ู„ู‡ ุฃูˆ ุชู„ุช ู…ุณุงู‚ุงุช ู…ุณุฌู„ ููŠู‡ุง ุงู„ุขู† ุจู…ุง ุฅู†ู‡ ุงู†ุญุฐู
80
00:06:01,450 --> 00:06:05,910
ุงู„ุฑู‚ู… ู‡ุฐุง ุฑุงุญ ูƒู€ primary key ููŠ ุฌุฏูˆู„ ุงู„ู€ students ู‡ู„
81
00:06:05,910 --> 00:06:09,310
ุถุงูŠู„ ููŠู‡ referential integrity ุนู„ู‰ ุงู„ุฌุฏูˆู„ ู‡ุฐุงุŸ ู„ุฃ
82
00:06:09,310 --> 00:06:12,830
ุงู„ู€ referential integrity ุตุงุฑ ู„ู‡ุง violation ุทุจ ุฅูŠุด
83
00:06:12,830 --> 00:06:19,530
ู†ุนู…ู„ุŸ ู‡ู„ ู†ุญุฐู ุงู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ู‡ู… ุณุฌู„ู‡ุงุŸ ูˆู„ุง ู†ุญุท ู‚ูŠู…
84
00:06:19,530 --> 00:06:24,550
ูุงุถูŠุฉ ู…ุซู„ุง nullุŸ ุฃูˆ ุฅู„ุง ู†ุญุท ู‚ูŠู… default ู…ุซู„ุง ุงุญู†ุง
85
00:06:24,550 --> 00:06:27,970
ู†ูƒูˆู† ุนุงู…ู„ูŠู† ู‚ูŠู…ุฉ default ู…ุซู„ุง ุฃุฑุจุน ุฎู…ุณุงุช ูุฃูŠ ูˆุงุญุฏ
86
00:06:27,970 --> 00:06:31,390
ู†ุญุฐู ูˆู†ุญุท ู„ู‡ ุฃุฑุจุน ุฎู…ุณุงุช ุฃูˆ ุฅู„ุง ู†ุฎู„ูŠ ุงู„ู€ database ุนู…ู‘ุง
87
00:06:31,390 --> 00:06:36,110
ุงุญู†ุง ู†ูŠุฌูŠ ู†ุญุฐู ุงู„ุทุงู„ุจ ู‡ุฐุง ุชุนู…ู„ู†ุง reject ูˆ ุชู…ู†ุนู†ุง
88
00:06:36,110 --> 00:06:39,470
ุฃู†ู‡ ู†ุญุฐู .. ุชู…ู†ุนู†ุง ุฃู†ู‡ ู†ุญุฐู ู„ุงุฒู… ู†ุฑูˆุญ ููŠ ุงู„ุฃูˆู„
89
00:06:39,470 --> 00:06:43,630
ู†ุญุฐู ู…ุณุงู‚ุงุชู‡ ุงู„ู„ูŠ ู‡ูˆ ู…ุณุฌู„ ููŠู‡ู… ูˆ ุจุนุฏูŠู† ู†ุญุฐู ุงู„ุทุงู„ุจ
90
00:06:43,630 --> 00:06:50,470
ู…ูŠู† ุงู„ุญู„ ุงู„ุตุญ ู†ุญุฐู ุงู„ุทุงู„ุจ ุงู„ู…ุณุงู‚ุงุช ุฃูˆู„ ูˆ ุจุนุฏูŠู†
91
00:06:50,470 --> 00:06:54,880
ุงู„ุทุงู„ุจ ุญุฏ ุนู†ุฏู‡ ุฑุฃูŠ ุชุงู†ูŠุŸ ู…ูŠู† ุจูŠุญูƒูŠ ุฅู†ู‡ ู†ุญุท null
92
00:06:54,880 --> 00:06:58,960
ู…ุซู„ุง ุงู„ุฃุฑุจุนุฉ
93
00:06:58,960 --> 00:07:04,380
ุฎูŠุงุฑุงุช ุตุญูŠุญุฉ ุงู„ุฎูŠุงุฑุงุช ุงู„ู„ูŠ ุนู†ุฏูŠ .. ุงู„ุฃุฑุจุน ุฎูŠุงุฑุงุช
94
00:07:04,380 --> 00:07:09,740
ูƒู„ู‡ู… ููŠ ุญุงู„ุฉ ุฅู† ุจุชุนู…ู„ delete ุฃูˆ update ุนู„ู‰ ุงู„ู€
95
00:07:09,740 --> 00:07:15,160
primary key ู„ู„ู€ foreign key ุจูŠุนู…ู„ู‡ reference ุงู„ุญุงู„ุฉ
96
00:07:15,160 --> 00:07:19,430
ุงู„ุฃูˆู„ู‰ ุฅู†ู‡ ู„ู…ุง ุจุญุฐู ุฃู†ุง ุงู„ุทุงู„ุจ ุงู„ู„ูŠ ู‡ูˆ ููŠ ุฌุฏูˆู„ ูˆ
97
00:07:19,430 --> 00:07:21,250
ุนุจุงุฑุฉ ุนู† ุงู„ุฑู‚ู… ุชุงุจุน ูˆ ุนุจุงุฑุฉ ุนู† ุงู„ู€ primary key
98
00:07:21,250 --> 00:07:23,750
ู‡ูŠุฑูˆุญ ุนู„ู‰ ุงู„ุฌุฏูˆู„ ุงู„ุชุงู†ูŠ ุงู„ู„ูŠ ุฑู‚ู… ุงู„ุทุงู„ุจ ููŠู‡
99
00:07:23,750 --> 00:07:28,870
foreign key ูˆ ูŠุฑูˆุญ ูŠุนู…ู„ู‡ู… delete also delete ุงู„ู€
100
00:07:28,870 --> 00:07:33,910
enrolled tubules ุงู„ู„ูŠ ุจุชุฃุดุฑ ุนู„ู‰ ู†ูุณ ุงู„ุทุงู„ุจ ู‡ุฐู‡
101
00:07:33,910 --> 00:07:35,370
ุงู„ุนู…ู„ูŠุฉ ุจู†ุณู…ูŠู‡ุง cascade
102
00:07:38,660 --> 00:07:41,980
ุฅู† ุฃู†ุง ู„ู…ุง ุฃุญุฐู ุงู„ุทุงู„ุจ ุฑูˆุญ ุฃุญุฐู ุงู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ู‡ูˆ
103
00:07:41,980 --> 00:07:46,100
ู…ุณุฌู„ู‡ู… ู„ู…ุง ู…ูˆุธู ูŠุชู‚ุนุฏ ู…ู† ุนู†ุฏูŠ ุฃูˆ ูŠุชุฑูƒ ุงู„ุดุบู„ ูˆุฃุญุฐู
104
00:07:46,100 --> 00:07:50,040
ุงู„ู€ record ุชุจุนู‡ ุฑูˆุญ ุฃุญุฐู ุฃุจู†ุงุกู‡ ุงู„ู…ุณุฌู„ูŠู† ุนู†ุฏูŠ ูˆ
105
00:07:50,040 --> 00:07:53,200
ุฃู‚ูˆู„ู‡ู… ุชุฃู…ูŠู† ูˆุฅุดูŠ ุฒูŠ ู‡ูŠูƒ ุฎู„ุงุต ู…ุง ุจูŠู„ุฒู…ูˆุด ู„ุฅู† ู‡ูˆ
106
00:07:53,200 --> 00:07:59,080
ุงู„ู…ูˆุธู ุชุฑูƒ ุงู„ุดุบู„ ุงู„ุญุงู„ุฉ
107
00:07:59,080 --> 00:08:04,140
ุงู„ุชุงู†ูŠุฉ ุฃู†ูŠ ุฃู…ู†ุน disallow deletion ุฃู†ูŠ ุฃู…ู†ุน ุฃู†ู‡
108
00:08:04,140 --> 00:08:10,080
ูŠุตูŠุฑ ุนู…ู„ูŠุฉ delete ู…ุง ุฃุณู…ุญุด ููŠู‡ุง ุฑูˆุญ ููŠ ุงู„ุฃูˆู„ ุงุญุฐู
109
00:08:10,080 --> 00:08:13,920
ุงู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ู‡ูˆ ู…ุณุฌู„ู‡ู… ูŠุนู†ูŠ ุฃู„ุบูŠ ุชุณุฌูŠู„ู‡ ุงุณุญุจ
110
00:08:13,920 --> 00:08:20,040
ุงู„ู…ูˆุงุฏ ูˆ ุจุนุฏูŠู† ุชุนุงู„ ุงุนู…ู„ delete ู„ู„ุทุงู„ุจ ุงู„ุญู„ ุงู„ุชุงู„ุช
111
00:08:20,040 --> 00:08:23,860
ุฃู†ูŠ ุฃุฏุฎู„ ู‚ูŠู…ุฉ null null ูŠุนู†ูŠ ูุฑุงุบ ูุงุถูŠ unknown
112
00:08:23,860 --> 00:08:29,360
ู‚ูŠู…ุฉ ู…ุด ู…ุนุฑูˆูุฉ unknown ุจุญุงู„ ุฑู‚ู… ุงู„ุทุงู„ุจ ููŠ ุฌุฏูˆู„
113
00:08:29,360 --> 00:08:32,540
ุงู„ู…ุณุงู‚ุงุช ูŠุตูŠุฑ ุงู„ู…ุณุงู‚ ู…ูŠู† ู…ุณุฌู„ู‡ ู…ุง ุญุฏุด ู…ุณุฌู„ู‡ null
114
00:08:32,540 --> 00:08:36,140
ูŠุนู†ูŠ ูุงุถูŠ ูŠุนู†ูŠ ู…ุง ุญุฏุด ู…ุณุฌู„ู‡ ูŠุนู†ูŠ ุงู„ุทุงู„ุจ ู‡ุฐุง ุงู†ุณุญุจ ู…ู†
115
00:08:36,140 --> 00:08:41,960
ุงู„ู…ุณุงูุฑ ุฎู„ุงุต ู…ุด ู…ูˆุฌูˆุฏ ููŠ ุฒูŠ ุงู„ู€ set null ููŠ ูƒู…ุงู†
116
00:08:41,960 --> 00:08:44,600
ุฅุดูŠ ุงุณู…ู‡ set default ุฃู† ุฃุญุท ู‚ูŠู…ุฉ default ูŠู…ูƒู†
117
00:08:44,600 --> 00:08:48,660
ู…ุง ู„ู‡ุงุด ู…ุนู†ู‰ ููŠ ุฌุฏูˆู„ ุงู„ุทู„ุงุจ ูˆ ุงู„ู…ุณุงู‚ุงุช ู„ูƒู† ุฅู„ู‡ุง
118
00:08:48,660 --> 00:08:52,980
ู…ุนู†ู‰ ููŠ ุฅุดูŠ ุชุงู†ูŠ ู…ุซู„ุง ููŠ ุงู„ุนู„ุงู…ุงุช ุฃูˆ ุขุณู ู…ุด ููŠ
119
00:08:52,980 --> 00:08:57,620
ุงู„ุนู„ุงู…ุงุช ู…ุซู„ุง ุฅู„ู‡ุง ู…ุนู†ู‰ ููŠ ุฌุฏูˆู„ ุชุฌุงุฑ ู…ุน ู‚ุทุน ุบูŠุงุฑ
120
00:08:57,620 --> 00:09:01,080
ุฒูŠ ุงู„ู…ุซุงู„ ุงู„ู…ุฑุฉ ุฃุฎุฏู†ุง ููŠ chapter 2 suppliers ูˆ
121
00:09:01,080 --> 00:09:05,330
projects ูˆ parts ู„ูˆ ุฃู†ุง ุนู†ุฏูŠ ุงู„ู„ุงุจุชูˆุจุงุช ุจุฌูŠุจู‡ู… ู…ู†
122
00:09:05,330 --> 00:09:09,830
ุชุงุฌุฑ ุฑู‚ู… ูˆุงุญุฏ ูˆ ุงู„ู€ LCD ุจุฌูŠุจู‡ู… ู…ู† ุชุงุฌุฑ ุฑู‚ู… ุฅุชู†ูŠู†
123
00:09:09,830 --> 00:09:13,850
ุจูŠู†ู…ุง ุงู„ูƒุฑุงุณูŠ ุจุฌูŠุจู‡ู… ู…ู† ุชุงุฌุฑ ุฑู‚ู… ุชู„ุงุชุฉ ูˆ ููŠ ุนู†ุฏูŠ
124
00:09:13,850 --> 00:09:17,490
ุชุงุฌุฑ ูƒุจูŠุฑ ู‡ุฐุง ุฃู†ุง ุจุชุนุงู…ู„ ู…ุนุงู‡ ู„ู…ุง ุจูƒูˆู† ู…ูˆุฑุฏ ู…ู†
125
00:09:17,490 --> 00:09:21,070
ุงู„ู„ูŠ ุนู†ุฏูŠ ู…ุง ุฌุงุจุด ุงู„ุจุถุงุนุฉ ูˆ ุชุฃุฎุฑ ููŠู‡ุง ุจุฌูŠุจ ู…ู† ุนู†ุฏู‡
126
00:09:21,070 --> 00:09:24,840
ุฃูŠ ุฅุดูŠ ู‡ุฐุง ุงู„ุชุงุฌุฑ ุงู„ูƒุจูŠุฑ ู‡ูˆ ุฑู‚ู… ุฎู…ุณุฉ ู…ุซู„ุง ู‡ุฐุง
127
00:09:24,840 --> 00:09:28,720
ุจูŠูƒูˆู† default ูู„ู…ุง ุจุญุฐู ุชุงุฌุฑ ู…ู† ุงู„ู„ูŠ ุนู†ุฏูŠ ุจุทู„ุช
128
00:09:28,720 --> 00:09:33,460
ุฃุชุนุงู…ู„ ู…ุนุงู‡ ุฎุฏู…ุฉ ุชุงุนุชู‡ ุณูŠุฆุฉ ู†ุตุจ ุนู„ูŠู†ุง ุจุฏู†ุงุด ุฃูˆ ู‡ูˆ
129
00:09:33,460 --> 00:09:36,620
ุณูƒุฑ ุงู„ุชุฌุงุฑุฉ ุชุงุนุชู‡ ู…ุจุงุดุฑุฉ ู„ู…ุง ุฃู†ุง ุจุนู…ู„ู‡ delete
130
00:09:36,620 --> 00:09:41,620
ุจูŠุฑูˆุญ ุจูŠุญุท ู„ูŠ ู‚ูŠู…ุฉ ุงู„ุชุงุฌุฑ ุงู„ู€ default ุงู„ู„ูŠ ุฃู†ุง
131
00:09:41,620 --> 00:09:46,220
ุจุชุนุงู…ู„ ู…ุนุงู‡ ููŠ ุฃูŠ ุฅุดูŠ ููŠ ูƒู„ ุญุงุฌุฉ ู…ุซุงู„ ุชุงู†ูŠ ู„ูˆ ุฃู†ุง
132
00:09:46,220 --> 00:09:51,240
ุนู†ุฏูŠ ู…ูˆุธููŠู† ูˆ ุจุนุทูŠู‡ู… tasks ู…ู‡ุงู… ุนู…ู„ ูƒู„ ู…ูˆุธู ุจุนุทูŠู‡
133
00:09:51,240 --> 00:09:55,280
task ู„ูƒู† ู„ูˆ ููŠ task ุฃู†ุง ุฃู†ุดุฃุชู‡ุง ูˆ ู…ุง ุญุฏุฏุชุด ู…ูŠู†
134
00:09:55,280 --> 00:09:58,840
ู…ุณุฆูˆู„ ุนู†ู‡ุง ุจุฏูŠ ู‡ูŠุญุท ุงู„ู€ default ุงู„ู„ูŠ ู‡ูˆ ู…ุฏูŠุฑ
135
00:09:58,840 --> 00:10:02,660
ุงู„ุฏุงุฆุฑุฉ ู„ูŠุดุŸ ุนุดุงู† ู…ุฏูŠุฑ ุงู„ุฏุงุฆุฑุฉ ูŠุดูˆู ุฃู† ู‡ุฐู‡ ุงู„ู…ู‡ู…ุฉ
136
00:10:02,660 --> 00:10:08,130
ุนู†ุฏู‡ ูˆ ูŠุชุฐูƒุฑ ุฃู† ู‡ูˆ ู…ุง ูƒู„ูุด ู…ูˆุธู ููŠู‡ุง ู‡ูŠุฑูˆุญ ูŠูƒู„ู ู…ูˆุธู
137
00:10:08,130 --> 00:10:10,970
ูˆ ูŠุญุท ู…ูˆุธู ู„ู‡ุฐู‡ ุงู„ู€ task ู ุฃู†ุง ุตุงุฑ ุนู†ุฏูŠ ุงู„ู€ default
138
00:10:10,970 --> 00:10:15,070
value ู„ู„ู€ task ู…ูŠู† ุงู„ู…ุฏูŠุฑ ุงุณู… ุงู„ู…ุฏูŠุฑ ุฃูˆ ุฑู‚ู… ุงู„ู…ุฏูŠุฑ
139
00:10:15,070 --> 00:10:19,270
ููŠ ู…ุซุงู„ ุงู„ุทู„ุงุจ ู…ู…ูƒู† ู…ุง ูŠู„ุฒู…ู†ุงุด ู†ุนู…ู„ ุงู„ู€ set default ุจุณ
140
00:10:19,270 --> 00:10:25,670
ู…ู…ูƒู† ูŠู„ุฒู…ู†ุง ุงู„ู€ cascade ูˆ ุงู„ู€ reject ูˆ ุงู„ู€ set null ูˆ
141
00:10:25,670 --> 00:10:30,470
ุฒูŠ ู…ุง ุญูƒูŠู†ุง ุงู„ุฎูŠุงุฑ ุงู„ุฑุงุจุน ุงู„ู„ูŠ ู‡ูˆ set default ุทุจุนุง
142
00:10:30,470 --> 00:10:33,310
ู†ูุณ ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุจูŠู†ุทุจู‚ ุนู„ู‰ delete ุจูŠู†ุทุจู‚ ุนู„ู‰ ู…ูŠู†
143
00:10:33,310 --> 00:10:37,670
ูƒู…ุงู† ุนู„ู‰ ุงู„ update ูƒูŠู ูŠุนู†ูŠ ุนู„ู‰ ุงู„ update ู‡ุฐู‡
144
00:10:37,670 --> 00:10:41,990
ุงู„ุฌุฏูˆู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ุชุจุน ุงู„ุทู„ุงุจ ูˆ ุงู„ู…ุณุงู‚ุงุช ู„ูˆ ุงู„ุทุงู„ุจ
145
00:10:41,990 --> 00:10:45,870
ู‡ุฐุง ุงุชุตู„ ุนู„ูŠู‡ Jones ุงุชุตู„ ุนู„ูŠู‡ ุงู„ู‚ุจูˆู„ ูˆ ุงู„ุชุณุฌูŠู„
146
00:10:45,870 --> 00:10:51,170
ู‡ู‚ูˆู„ู‡ ูŠุง ุนู… ุงุญู†ุง ุงู„ุฑู‚ู… ุงู„ู„ูŠ ุฃุนุทูŠู†ุงูƒ ุฅูŠุงู‡ 53666 ู‡ุฐุง
147
00:10:51,170 --> 00:10:55,070
ุงู„ุฑู‚ู… ุบู„ุทุŒ ุงู„ุบู„ุท ุฃุนุทูŠู†ุงูƒ ุฅูŠุงู‡ ู‡ุฐุง ุงู„ุฑู‚ู… ู…ุซู„ุง ู„ ..
148
00:10:55,070 --> 00:10:57,750
ุงู„ุฃุตู„ ุนู†ุฏู†ุง .. ู†ูุฑุถ ุฃู† ุงู„ุฃุตู„ ู…ุซู„ุง ุงู„ู„ูŠ ุจูŠุจุฏุฃ ุจุฎู…ุณุฉ
149
00:10:57,750 --> 00:11:02,450
ู„ุง ุทุงู„ุจุงุช ู‡ุฐุง ุงู„ุฑู‚ู… ุบู„ุท ูˆ ุจู†ุบูŠุฑู‡ ู„ูƒ ู„ุฃู†ู‡ ุนู†ุฏู…ุง
150
00:11:02,450 --> 00:11:04,930
ู†ุบูŠู‘ุฑ ุงู„ุฑู‚ู… ูˆ ู†ุถุน ุงู„ุฑู‚ู… ุงู„ุฌุฏูŠุฏ
151
00:11:04,930 --> 00:11:12,470
44444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
152
00:11:13,560 --> 00:11:16,660
ุจุงู„ุฑู‚ู… ู‡ุฐุง ุงู„ุฑู‚ู… ู‡ุฐุง ุชุฐู‡ุจ ุบูŠุฑู†ุงู‡ ุนู…ู„ู†ุง ู„ู‡ update
153
00:11:16,660 --> 00:11:21,080
ู„ุฑู‚ู… ุฌุฏูŠุฏ ู‡ู„ ููŠู‡ ุตุงุฑ referential integrity ู„ุฃ
154
00:11:21,080 --> 00:11:25,460
ุตุงุฑ ู„ู‡ุง violation ุทุจ ุฅูŠุด ุงู„ุญู„ ู†ูุณ ุญุงู„ุฉ ุงู„ delete ุฅู…ุง
155
00:11:25,460 --> 00:11:28,980
ุจุฑูˆุญ ุจุญุฐู ุงู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ู…ุณุฌู„ ููŠู‡ุง ุงู„ุฑู‚ู… ุงู„ู‚ุฏูŠู… ุฃูˆ
156
00:11:28,980 --> 00:11:32,140
ุจุนู…ู„ cascade ุฒูŠ ู…ุง ุบูŠุฑุช ููŠ ู‡ุฐู‡ ุงู„ุฌู‡ุฉ ุจุบูŠุฑ ููŠ ุงู„ุฌู‡ุฉ
157
00:11:32,140 --> 00:11:36,080
ุงู„ุซุงู†ูŠุฉ ุฃูˆ ุจู…ู†ุน ุนู…ู„ูŠุฉ ุงู„ update ุฃุตู„ุง ุจุฎู„ูŠู‡ ูŠุนู…ู„ู‡ุง
158
00:11:36,080 --> 00:11:41,050
reject ุจู…ู†ุนู‡ ูŠุนู…ู„ update ุฅู„ุง ู„ู…ุง ุฃุนุฏู‘ู„ ุทุจ ู„ูˆ ุฌูŠู†ุง
159
00:11:41,050 --> 00:11:45,090
ู†ุนุฏู‘ู„ ุญูŠู†ู‡ุง ุงู†ุชุด ุนู†ุฏูŠ ู…ุดูƒู„ุฉ ุฌุฏูŠุฏุฉ ู„ูˆ ุฌูŠุช ุฃุนุฏู‘ู„ ุฃูˆู„
160
00:11:45,090 --> 00:11:50,930
ูˆ ุญุท ุฑู‚ู… ุงู„ุทุงู„ุจ 4444 ู‡ูŠุญูƒูŠ ู„ูŠ ู…ุงููŠุด ุทุงู„ุจ ุฑู‚ู… 4444
161
00:11:50,930 --> 00:11:55,530
ุทุจ ุฅูŠุด ุงู„ุญู„ ู‡ุถุทุฑ ุฅู†ู†ุง ู†ุนู…ู„ insert ูŠุนู†ูŠ ุฃุฏุฎู„ ู‚ูŠู…ุฉ
162
00:11:55,530 --> 00:11:58,970
ุฌุฏูŠุฏุฉ ู„ู†ูุณ ุงู„ุจูŠุงู†ุงุช ุฏูŠ ุงุณู… ุงู„ุทุงู„ุจ ู†ูุณู‡ ู†ูุณ ุงู„
163
00:11:58,970 --> 00:12:03,330
login ู†ูุณ ุงู„ Asia ู†ูุณ ุงู„ GBA ุจุงู„ุฑู‚ู… ุงู„ุฌุฏูŠุฏ ูˆูƒุฃู†ู‡
164
00:12:03,330 --> 00:12:07,630
ุทุงู„ุจ ุฌุฏูŠุฏ ุจุฑู‚ู… ุฌุฏูŠุฏ ูˆ ุจุนุฏูŠู† ุจุนู…ู„ update ูˆ ุจุนุฏูŠู†
165
00:12:07,630 --> 00:12:13,910
ุจุญุฐู ูƒู„ ุงู„ู‚ุฏูŠู… ู…ุด ุจุณ ุจุนู…ู„ update ุจุญุฐู ูƒู„ู‡ ุทูŠุจ
166
00:12:13,910 --> 00:12:16,750
ุงู„ุฎูŠุงุฑุงุช ู‡ุฐู‡ ูƒูŠู ุจุฏู‡ุง ุชู… ูƒูŠู ู†ุจุฑู…ุฌู‡ุง ููŠ ูƒูˆุฏ
167
00:12:16,750 --> 00:12:21,970
ุงู„ุจุฑู…ุฌุฉ ุชุจุน ุงู„ SQL ุงู„ commands ุงู„ู„ูŠ ุนู†ุฏูŠ ููŠู‡
168
00:12:21,970 --> 00:12:25,570
command ุงุณู…ู‡ cascade ูˆ ููŠู‡ command set default
169
00:12:25,570 --> 00:12:29,930
set null or no action ุฃูˆู„ ูˆุงุญุฏ ุงู„ cascade ุฅุฐุง
170
00:12:29,930 --> 00:12:33,490
ูƒุชุจุชู…ูˆุง ุฅูŠุด ู‡ูŠุนู…ู„ ู‡ูŠุนู…ู„ delete ู„ู„ raw ู…ู† ุงู„ parent
171
00:12:33,490 --> 00:12:37,530
table ูˆ ูŠุฑูˆุญ ูŠุญุฐู ูƒู„ ุงู„ referential ุงู„ู„ูŠ ููŠ ุงู„
172
00:12:37,530 --> 00:12:40,630
child automatically ูŠุนู…ู„ู‡ู… ุฅูŠุด deleting ู…ู† ุงู„
173
00:12:40,630 --> 00:12:47,880
child table ุงู„ set null ูˆุงุถุญ ู‡ูŠุญุฐู ู…ู† ุงู„ parent
174
00:12:47,880 --> 00:12:50,720
ูˆูŠุฑูˆุญ ุนู„ู‰ ุงู„ child ูŠุญุท ุงู„ู‚ูŠู… ุงู„ู„ูŠ ูƒุงู† ูŠุฃุดุฑ ุนู„ูŠู‡ุง
175
00:12:50,720 --> 00:12:54,460
ุงู„ foreign key null ุงู„ set default ู‡ูŠุฑูˆุญ ูŠุญุท ุงู„ู‚ูŠู…ุฉ
176
00:12:54,460 --> 00:12:56,520
ุงู„ default ุงู„ู„ูŠ ุงุญู†ุง ู…ุชูู‚ูŠู† ุนู„ูŠู‡ุง ู…ุณุจู‚ุง ู…ุง ุจู†ูƒูˆู†
177
00:12:56,520 --> 00:13:00,140
ู…ุชูู‚ูŠู† ุนู„ูŠู‡ุง ุงู„ุญูŠู† ู†ุดูˆู ูƒูŠู ุจู†ุนู…ู„ ุงู„ default ู‡ุงูŠ
178
00:13:00,140 --> 00:13:05,260
ุงู„ no action ู‡ูŠ ุงู„ู„ูŠ ุจุชุนู…ู„ ุฅูŠุด reject ุจุชู…ู†ุนู†ูŠ ุฃู†
179
00:13:05,260 --> 00:13:10,800
ุฃุญุฐู ุจุชู…ู†ุนู†ูŠ ุฃู† ุฃุญุฐู ู…ู† ุงู„ parent ูˆ ุฃู† ุฃุญุฐู ู…ู† ุงู„
180
00:13:10,800 --> 00:13:15,560
child ุงู„ no action ู‡ุฐู‡ ู‡ูŠ ุงู„ default
181
00:13:18,370 --> 00:13:23,010
ุชู…ุงู… ูŠุนู†ูŠ ุงู„ database ุงู„ Oracle DBMS ู…ุด ู„ุงุฒู…
182
00:13:23,010 --> 00:13:28,190
ุฃุญูƒูŠู„ู‡ ุฅู†ู‡ on delete ุจุฏูŠ no action ุฃูˆ on update no
183
00:13:28,190 --> 00:13:32,030
action ู…ู† ุฏูˆู† ู…ุง ุฃุญูƒูŠ ู‡ูŠ ุฃุตู„ุง ุงู„ Oracle ู‡ูŠูƒ ุจุชุนู…ู„
184
00:13:32,030 --> 00:13:37,070
ุจุชุนู…ู„ reject ุจุชู…ู†ุน ุงู„ delete ุฅุฐุง ุฃู†ุง ูƒุชุจุช ู„ู‡ุง ุฅู†ู‡
185
00:13:37,070 --> 00:13:41,270
no action ุจูƒูˆู† ุฃู†ุง ุจุฃูƒุฏ ุนู„ู‰ ุงู„ู…ุนู„ูˆู…ุฉ ุจุณ ูŠุนู†ูŠ ุจูƒุฑุฑ
186
00:13:41,270 --> 00:13:46,000
ุงู„ู…ุนู„ูˆู…ุฉ ู…ุด ุฃูƒุซุฑ ู„ูƒู† ุฅุฐุง ุจุฏูŠ cascade ุฃูˆ set default ุฃูˆ
187
00:13:46,000 --> 00:13:49,520
set null ู„ุงุฒู… ุฃูƒุชุจู‡ู… ูƒูŠู ุจู†ูƒุชุจู‡ู… ููŠ ุงู„ command ุชุจุน
188
00:13:49,520 --> 00:13:53,860
ุงู„ create table ุจู‡ุฐุง ุงู„ุดูƒู„ ู‡ูŠ ุนู†ุฏูŠ ุงู„ create table
189
00:13:53,860 --> 00:13:57,620
table ุงู„ enrolled ุงู„ู„ูŠ ุจู†ุณุฌู„ ููŠู‡ ุงุญู†ุง ุงู„ุทู„ุงุจ ุฅูŠุด
190
00:13:57,620 --> 00:14:03,000
ู…ุณุฌู„ูŠู† ู…ุณุงู‚ุงุช ููŠ ุนู†ุฏูŠ ูƒู… column ุชู„ุงุชุฉ ุชู„ุงุชุฉ ุฑู‚ู…
191
00:14:03,000 --> 00:14:06,640
ุงู„ุทุงู„ุจ ุฑู‚ู… ุงู„ู…ุณุงู‚ ูˆุนู„ุงู…ุชู‡ ู…ูŠู† ุงู„ primary key
192
00:14:06,640 --> 00:14:10,800
combined ุงู„ SID ูˆ ุงู„ CID ุงู„ู„ูŠ ู‡ู… ุฃุตู„ุง ุงู„ุฅุซู†ูŠู†
193
00:14:10,800 --> 00:14:14,510
foreign key ูˆุงุญุฏ ูุฑู† ุจูŠู‚ุดุฑ ุนู„ู‰ ุงู„ students ูˆุงู„ุซุงู†ูŠ
194
00:14:14,510 --> 00:14:19,870
ูุฑู† ุจูŠู‚ุดุฑ ุน ู…ูŠู†ุŸ ุน ุงู„ courses ุงู„ foreign key ุฃุฎุฏู†ุง ู…ูŠู†ุŸ
195
00:14:20,590 --> 00:14:23,510
ุงู„ SID ุทุจุนุง ู…ุง ูƒู…ู„ู†ุงุด ุงู„ุซุงู†ูŠ ุฅู† ุงุญู†ุง ุจู†ุงุฎุฏ ุจุณ
196
00:14:23,510 --> 00:14:26,450
example ุงู„ู…ุฑุฉ ุงู„ุฃูˆู„ู‰ ุงู„ู„ูŠ ุญูƒูŠู†ุง ุนู†ู‡ ุงู„ุฃุตู„ ุฅู† ู†ุญุท
197
00:14:26,450 --> 00:14:28,970
ุงู„ foreign key ุงู„ุซุงู†ูŠ ุนู†ุฏูŠ foreign key ุงู„ู„ูŠ ู‡ูˆ ุฑู‚ู…
198
00:14:28,970 --> 00:14:33,590
ุงู„ุทุงู„ุจ ุฃูŠ ุฌุฏูˆู„ ุจู‚ุงุด ุงู„ references students on
199
00:14:33,590 --> 00:14:37,210
delete ุฏูŠ ู‡ูŠุนู…ู„ cascade ุฅูŠุด ูŠุนู†ูŠ on delete cascade
200
00:14:37,210 --> 00:14:42,750
ู„ู…ุง ุฃุญุฐู ุงู„ุทุงู„ุจ ู…ู† ุฌุฏูˆู„ ุงู„ students ู‡ุฐุง ูŠูŠุฌูŠ ูŠุญุฐู
201
00:14:42,750 --> 00:14:46,170
ูƒู„ ู…ุณุงู‚ ู‡ูˆ ู…ุณุฌู„ ููŠู‡ ู…ูˆุฌูˆุฏ ุฑู‚ู…ู‡ ู†ูุณู‡ ู…ูˆุฌูˆุฏ ููŠ ู‡ุฐุง
202
00:14:46,170 --> 00:14:51,310
ุงู„ุฌุฏูˆู„ ุทุจ on update ุฅูŠุด ุฏูŠ ู‡ูŠุนู…ู„ set default ุฒูŠ ู…ุง
203
00:14:51,310 --> 00:14:53,970
ุญูƒูŠู†ุง ููŠ ุญุงู„ุฉ ุงู„ุทุงู„ุจ ุนู†ุฏูŠ ู…ุง ู„ู‡ุงุด ู…ุนู†ู‰ set default
204
00:14:53,970 --> 00:14:57,850
ู„ุฅู†ู‡ ุฃู†ุง ุจุฏูŠ ุฃูƒูˆู† ุนู†ุฏูŠ ุทุงู„ุจ ู‡ุฐุง ุงู„ุทุงู„ุจ ุฃูŠ ูˆุงุญุฏ
205
00:14:57,850 --> 00:15:01,010
ูŠู†ุณุญุจ ู…ู† ุฃูŠ ู…ุงุฏุฉ ุฃูˆ ูŠุทู„ุน ู…ู† ุงู„ุฌุงู…ุนุฉ ูŠูŠุฌูŠ ูŠุณุฌู„ ู…ุณุงู‚
206
00:15:01,010 --> 00:15:04,490
ุจุฏุงู„ู‡ ูˆูŠุฏุฑุณ ุจุฏุงู„ู‡ ู…ุด ู…ู†ุทู‚ูŠ ูŠุนู†ูŠ ุฅูŠุด ู‡ุงู„ุทุงู„ุจ ู‡ุฐุง ุงู„
207
00:15:04,490 --> 00:15:07,390
super ุจูŠุฏุฑุณ ูƒู„ ู…ุณุงู‚ุงุช ุงู„ุฌุงู…ุนุฉ ุจุฏู„ ุทู„ุงุจ ุงู„ุฌุงู…ุนุฉ
208
00:15:07,390 --> 00:15:10,930
ุงู„ู„ูŠ ุจู†ุณุญุจู‡ ูˆุงู„ู„ูŠ ุจูŠุทู„ุน ูู…ุง ู„ู‡ูˆุด ู…ุนู†ู‰ ุจุณ ู‡ุฐุง ู…ุฌุฑุฏ
209
00:15:10,930 --> 00:15:15,350
example ูŠู…ูƒู† ู„ูˆ ุญุงุทูŠู† set null ููŠ ุญุงู„ุฉ ุงู„ุทุงู„ุจ
210
00:15:15,350 --> 00:15:20,830
ุชู…ุดูŠ ู„ูˆ ุนู…ู„ู†ุง cascade ุจุฑุถู‡ ู…ู†ุทู‚ูŠ set null ุฃูˆ set
211
00:15:20,830 --> 00:15:26,570
cascade ู…ู†ุทู‚ูŠ ุจุณ set default ููŠ ู‡ุฐู‡ ุงู„ุญุงู„ุฉ ู„ุฃ ุชู…ุงู…
212
00:15:26,570 --> 00:15:33,650
ุฒูŠ ุฅูŠุด ู…ู…ูƒู† ูŠุธุจุท ู…ุนุงู†ุง set default ููŠ ุงู„ grade ููŠ
213
00:15:33,650 --> 00:15:36,870
ุงู„ grade ู„ูŠุด ุงุญู†ุง ุฃูŠ ุทุงู„ุจ ู…ุซู„ุง ุจู†ุณุญุจ ู…ู† ุงู„ู…ุณุงู‚ ุฃูˆ
214
00:15:36,870 --> 00:15:40,030
ุจูŠูƒู…ู„ุด ุงู„ู…ุณุงู‚ ุฅูŠุด ุจู†ุนุทูŠู‡ ุจู†ุนุทูŠู‡ ุฃุฑุจุนูŠู† ูุจู†ูƒูˆู†
215
00:15:40,030 --> 00:15:44,010
ู…ุนุฑููŠู† ุฅู† ุงู„ default ุฃุฑุจุนูŠู† ูุฃูŠ ุทุงู„ุจ ุฃู†ุง ู…ุง ุจุนุทูŠู‡ูˆุด
216
00:15:44,010 --> 00:15:48,110
ุนู„ุงู…ุฉ ู…ู† ุงู„ู…ุณุงู‚ ุฃูˆ ุจูŠุทู„ุน ู…ู† ุงู„ู…ุณุงู‚ ุฃูˆ ุจูŠุงุฎุฏ
217
00:15:48,110 --> 00:15:52,300
ุงู„ุฃุฑุจุนูŠู† ุชุตูŠุฑ ู…ู†ุทู‚ูŠุฉ ุฃู…ุง ุทุงู„ุจ ูŠู†ุณุญุจ ุฃุญุท ุทุงู„ุจ ุจุฏุงู„ู‡
218
00:15:52,300 --> 00:15:58,580
default ู…ุง ู„ู‡ุงุด ู…ุนู†ู‰ ูุฅุฐุง ุงุญู†ุง ุจู†ุนุฑู ุนู†ุฏู†ุง command
219
00:15:58,580 --> 00:16:01,800
ุงู„ู„ูŠ ู‡ูˆ on delete ูˆููŠ on update ูˆููŠ cascade ูˆููŠ
220
00:16:01,800 --> 00:16:05,980
set default ูˆููŠ set null ูˆููŠ no action ูˆ ุงู„ on
221
00:16:05,980 --> 00:16:09,120
delete no action ูˆ on update no action ู…ุง ููŠุด ุฏุงุนูŠ
222
00:16:09,120 --> 00:16:13,600
ุฃูƒุชุจู‡ุง ู„ุฃู† ู‡ูŠ ุฃุตู„ุง ุงู„ูˆุถุน ุงู„ุทุจูŠุนูŠ ุงู„ูˆุถุน ุงู„ุงูุชุฑุงุถูŠ
223
00:16:13,600 --> 00:16:17,500
ู„ู„ุฏุงุชุง base ุฅู„ุง ุฅุฐุง ุฃู†ุง ุจุฏุง ุฃูƒุฏ ุนู„ูŠู‡ุง ูŠุนู†ูŠ ุจุฏุง
224
00:16:17,500 --> 00:16:20,200
ุฃูƒุชุจู‡ุง ุนุดุงู† ุงู„ู…ุจุฑู…ุฌ ู…ุซู„ุง ุงู„ู„ูŠ ุจุฏู‡ ูŠูŠุฌูŠ ูŠุฑุงุฌุน ูˆุฑุงูŠ
225
00:16:20,200 --> 00:16:25,060
ูŠูƒูˆู† ุนุงุฑู ุฃูˆ ูŠุชุฐูƒุฑ ุฅู† ู‡ูˆ ุญูŠุตูŠุฑ ุนู„ูŠู‡ุง no action
226
00:16:25,060 --> 00:16:27,780
ูŠุนู†ูŠ ุญูŠุตูŠุฑ reject ู„ู…ุง ุฃุฌูŠ ุฃุนู…ู„ delete ูŠู…ู†ุนู†ูŠ ุฃุนู…ู„
227
00:16:27,780 --> 00:16:33,080
delete ุฅู„ุง ุฃูุถู„ ู…ุณุงู‚ุงุช ุฃูˆู„ ูƒู…ุงู†
228
00:16:33,080 --> 00:16:35,820
ุดุงูŠููŠู† ู…ู† ุงู„ู…ุซุงู„ ุฅู†ู‡ ู…ู…ูƒู† ุงู„ action ุงู„ู„ูŠ ุจุฏู‡ ุฃุนู…ู„ู‡
229
00:16:35,820 --> 00:16:38,600
ููŠ ุญุงู„ุฉ ุงู„ delete ูŠุฎุชู„ู ุนู† ู…ูŠู† ุนู† update ูŠุนู†ูŠ ู…ุด
230
00:16:38,600 --> 00:16:42,400
ุถุฑูˆุฑูŠ ุงู„ุฅุซู†ูŠู† ูŠูƒูˆู†ูˆุง ุฒูŠ ุจุนุถ ู…ุด ุถุฑูˆุฑูŠ ูŠูƒูˆู†ูˆุง ุฒูŠ ุจุนุถ
231
00:16:43,550 --> 00:16:46,970
ุงุญู†ุง ููŠ ูƒุซูŠุฑ ู…ู† ุงู„ุญุงู„ุงุช ุจู†ุณุชุฎุฏู… ู…ูŠู† ููŠ ูƒุซูŠุฑ ู…ู†
232
00:16:46,970 --> 00:16:53,230
ุงู„ุญุงู„ุงุช ุชูƒูˆู† ุงู„ cascade ู…ุฑูŠุญุฉ ุจุชุณู‡ู„ ููŠ ุงู„ุดุบู„ ุฎู„ุงุต
233
00:16:53,230 --> 00:16:56,990
ุทู„ุนูˆุง ูˆุทู„ุนูˆุง ู…ุง ู„ู‡ุงุด ู…ุนู†ู‰ ุงู„ูƒูˆุฑุณุงุช ุงู„ู„ูŠ ู‡ูˆ ู…ุณุฌู„ู‡ุง
234
00:16:56,990 --> 00:17:02,470
ุฎู„ุงุต ุจุฏุฃู†ุง ู†ุญุฏุซ ู…ู† ูˆูŠู† ุจุชูŠุฌูŠ ุงู„ integrity ุชูƒูˆู† ุงู„
235
00:17:02,470 --> 00:17:04,950
strengths ุญูƒูŠู†ุง ุนู† ุงู„ู…ูˆุถูˆุน ู‡ุฐุง ุถู…ู† ุณูŠุงู‚ ุงู„ูƒู„ุงู…
236
00:17:04,950 --> 00:17:08,310
ุฎู„ุงู„ ุงู„ chapter ูˆุงู„ chapter ุงู„ุณุงุจู‚ุฉ ุงู„ constraints
237
00:17:08,310 --> 00:17:10,690
ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูŠ ุงู„ primary keyุŒ ุงู„ foreign keyุŒ
238
00:17:10,690 --> 00:17:14,170
ุงู„ domain constraintุŒ ุงู„ not nullุŒ ุงู„ candidate
239
00:17:14,170 --> 00:17:17,450
key ุงู„ู„ูŠ ู‡ูˆ ุงู„ uniqueุŒ ู…ู† ุฃูŠู† ุจุชูŠุฌูŠุŸ ุงุญู†ุง ุจู†ุงู†ุง
240
00:17:17,450 --> 00:17:22,670
ุนุงูŠุดูŠู† ุจู†ุญุทู‡ุงุŒ ุจู†ุงู†ุง ุนุงูŠุด ุฃู†ุง ุจุงุฌูŠ ุจุญุทู‡ุง ูˆุจูƒุชุจู‡ุงุŒ
241
00:17:22,670 --> 00:17:27,590
ู…ู† ุนู†ุฏูŠ ุญุฏ ุจุฏูŠ randomุŒ ู„ุง ุจู†ุญุทู‡ุง ุจู†ุงู†ุง ุนู„ู‰ ุงู„
242
00:17:27,590 --> 00:17:32,530
semantics of the real world ูŠุนู†ูŠ ู…ุนู†ู‰ ุงู„ุญุงู„ุฉ ุงู„ู„ูŠ
243
00:17:32,530 --> 00:17:35,330
ุฃู†ุง ุจุทุจู‚ู‡ุง ููŠ ุงู„ database ููŠ ุงู„ุนุงู„ู… ุงู„ุญู‚ูŠู‚ูŠ ุฃู†ุง
244
00:17:35,330 --> 00:17:40,570
ุจุดุชุบู„ courses ูˆุทู„ุงุจ ูˆู…ุณุงู‚ุงุช ูˆู…ุฏุฑุณูŠู† ุจุฏูŠ ุฃุญุท
245
00:17:40,570 --> 00:17:44,590
constraints ุชู†ุงุณุจ ุงู„ุจุฑู†ุงู…ุฌ ู‡ุฐุง ุชู†ุงุณุจ ุงู„ูˆุงู‚ุน
246
00:17:44,590 --> 00:17:47,670
ุงู„ุญู‚ูŠู‚ูŠ ุชุจุน ุงู„ุทู„ุงุจ ูˆุงู„ุฌุงู…ุนุฉ ุจุฏูŠ ุฃุนู…ู„ ุจุฑู†ุงู…ุฌ ุฐุง
247
00:17:47,670 --> 00:17:50,730
ุตูŠุฏู„ูŠุฉ ุจุฏูŠ ุฃูƒูˆู† ุฃู†ุง ููŠ ุงู„ุฎุทูˆุฉ ุฑู‚ู… ูˆุงุญุฏ ููŠ ุงู„
248
00:17:50,730 --> 00:17:52,950
design ุงู„ู„ูŠ ู‡ูŠ system requirement analysis ุชุญู„ูŠู„
249
00:17:52,950 --> 00:17:56,690
ุงู„ู†ุธุงู… ุฃูƒูˆู† ูุงู‡ู… ุจุงู„ุถุจุท ุฅูŠุด ุงู„ู…ุทู„ูˆุจ ูˆุฃุญุท
250
00:17:56,690 --> 00:17:59,410
constraints ุชุชู†ุงุณุจ ู…ุนุงู‡ ุชุชู†ุงุณุจ ู…ุน ุงู„ูˆุงู‚ุน
251
00:18:04,640 --> 00:18:08,460
ูƒู„ ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ููŠ ุงู„ slide ูŠุนู†ูŠ ุญูƒูŠู†ุงู‡ ููŠ ุณูŠุงู‚
252
00:18:08,460 --> 00:18:12,720
ุงู„ูƒู„ุงู… ุฎู„ุงู„ ุงู„ุดุจุงุชุฑ two ูˆ three ุงู„ุขู† ุงู„ not null
253
00:18:12,720 --> 00:18:17,320
constraint ุฌุฏูŠุฏ ุงู„ not null ุฅูŠุด ูŠุนู†ูŠ ุงู„ not null
254
00:18:17,320 --> 00:18:20,800
ูŠุนู†ูŠ ุฃู†ุง ู…ุง ุจุฏูŠุด ุงู„ู‚ูŠู…ุฉ ุชูƒูˆู† ูุงุถูŠุฉ null ูŠุนู†ูŠ ูุฑุงุบ
255
00:18:20,800 --> 00:18:25,760
unknown ู…ุด ู…ุนุฑูˆู ู not null ูŠุนู†ูŠ ุงู„ู‚ูŠู…ุฉ ู…ุง ุจุฏูŠุด
256
00:18:25,760 --> 00:18:30,990
ู‡ูŠูƒูˆู† ูุฑุงุบ ุชุตูˆุฑ ู„ูˆ ุฃู†ุง ุจุงุฌูŠ ุจุณู…ุญ ู„ู„ุทุงู„ุจ ุฅู†ู‡ ูŠุณุฌู„ ููŠ
257
00:18:30,990 --> 00:18:37,330
ุงู„ุฌุงู…ุนุฉ ูˆุจุนุทูŠู‡ ุฑู‚ู… ูˆู…ุง ุจุฏุฎู„ู‡ูˆุด ุงุณู… ูˆุจุนุทูŠู‡ ู…ุนุฏู„ ูˆ
258
00:18:37,330 --> 00:18:40,750
ุจุนุทูŠู‡ ุนู†ูˆุงู† ูˆุจุนุทูŠู‡ ุฑู‚ู… ุฌูˆุงู„ ููŠ ุงู„ database ูˆ
259
00:18:40,750 --> 00:18:44,410
ู…ุง ู„ู‡ูˆุด ุงุณู… ุนู†ุฏูŠุŒ ู…ู†ุทู‚ูŠ ุงู„ูƒู„ุงู… ู‡ุฐุงุŸ ุจุณุงุนุฏู†ูŠุŒ ุจุฎุฏู…ู†ูŠ
260
00:18:44,410 --> 00:18:48,210
ููŠ ุงู„ุดุบู„ุŸ ู„ุงุŒ ูŠุนู†ูŠ ุงู„ุงุณู… ู…ู† ุฃู‡ู… ู…ุนู„ูˆู…ุงุช ุงู„ุทุงู„ุจ
261
00:18:48,210 --> 00:18:51,410
ุงุณู…ู‡ ู ุฃู†ุง ุจู‡ู…ู†ูŠ ู„ู…ุง ุฃุฌูŠ ุฃุนู…ู„ ุฌุฏูˆู„ ุงู„ุทู„ุงุจ ุฒูŠ ู…ุง ุฐุง
262
00:18:51,410 --> 00:18:54,430
ูƒู„ู†ุง ู…ุง ูƒู†ุง ู†ุนู…ู„ ุฌุฏูˆู„ ุงู„ุทู„ุงุจุŒ ู†ุญูƒูŠ SID ูŠุนู†ูŠ ุฑู‚ู…
263
00:18:54,430 --> 00:18:58,270
ุงู„ุทุงู„ุจุŒ ู†ูŠุฌูŠ ู†ุญูƒูŠ name ูŠุนู†ูŠ ุงุณู… ุงู„ name ู‡ุฐุง ู…ุซู„ุง
264
00:18:58,270 --> 00:19:02,990
character 40 ุตุญ ุจุฏูŠ ุฃุฌูŠ ุจุนุฏ character 40 ุฃุญูƒูŠ ุฅู†ู‡
265
00:19:02,990 --> 00:19:10,110
ู‡ุฐุง ู…ุง ู„ู‡ not null ู‚ูŠู…ุชู‡ ู…ุง ุชูƒูˆู†ุด null ู…ุง ุชุฏุฎู„ูŠุด ุทุงู„ุจ
266
00:19:10,110 --> 00:19:14,990
ู…ุง ู„ู‡ูˆุด ุงุณู… ู„ูƒู† ุงู„ address ู„ูˆ ูƒุงู† ูุงุถูŠ ู…ุด ู…ู‡ู… ุฑู‚ู…
267
00:19:14,990 --> 00:19:18,670
ุงู„ุฌูˆุงู„ ู„ูˆ ูƒุงู† ูุงุถูŠ ู…ู…ูƒู† ุทุงู„ุจ ู…ุง ุนู†ุฏู‡ูˆุด ุฌูˆุงู„ ุงู„ุชุงุฑูŠุฎ
268
00:19:18,670 --> 00:19:21,510
ุงู„ู…ูŠู„ุงุฏ ุฃูˆ ุงู„ ash ู„ูˆ ูƒุงู† ูุงุถูŠ ุจุฑุถู‡ ู…ุด ู…ู‡ู… ู…ู…ูƒู† ุฃุฌูŠ
269
00:19:21,510 --> 00:19:24,650
ุทุงู„ุจ ูŠุณุฌู„ู‡ ูˆู…ุง ุนู†ุฏู‡ูˆุด ุดู‡ุงุฏุฉ ุงู„ู…ูŠู„ุงุฏ ุญูƒู‰ ู„ูŠ ุจุนุฏ ุฃุณุจูˆุน
270
00:19:24,650 --> 00:19:28,070
ุฃูˆ ุจุนุฏ ุฃุณุจูˆุนูŠู† ุจุฏูŠ ุฃุฌูŠุจ ุดู‡ุงุฏุฉ ุงู„ู…ูŠู„ุงุฏ ู…ุด ู…ุดูƒู„ุฉ
271
00:19:28,070 --> 00:19:30,910
ุจุฏุฎู„ู‡ ูˆุจุนู…ู„ู‡ record ููŠ ุงู„ database ูˆู„ู…ุง ุฃุฌูŠุจ
272
00:19:30,910 --> 00:19:34,450
ุดู‡ุงุฏุฉ ุงู„ู…ูŠู„ุงุฏ ุจุฏุฎู„ ุนู…ุฑู‡ ุฃูˆ ุจุฏุฎู„ ุชุงุฑูŠุฎ ู…ูŠู„ุงุฏู‡ ู„ูƒู†
273
00:19:34,450 --> 00:19:37,930
ุงู„ุงุณู… ู…ุนู„ูˆู…ุฉ ู…ู‡ู…ุฉ ู…ุง ุจุฏูŠุด ุฃุณุชุบู†ู‰ ุนู†ู‡ุง ูุจุฏูŠ ุฃุญุทู‡ุง not
274
00:19:37,930 --> 00:19:45,940
null by default ุฃูŠ ูƒูˆู„ูˆู… ุจูŠุงุฎุฏ null by default ุฃูŠ
275
00:19:45,940 --> 00:19:50,380
ูƒูˆู„ูˆู… ู…ู…ูƒู† ูŠุงุฎุฏ ุงู„ null value ุฅู„ุง ุฅุฐุง ุฃู†ุง ุญุฏุฏุช
276
00:19:50,380 --> 00:19:54,440
ุญูƒูŠุช ู„ู„ database ุฅู† ุงู„ูƒูˆู„ูˆู… ู‡ุฐุง ุถุฑูˆุฑูŠ ูŠูƒูˆู† not
277
00:19:54,440 --> 00:19:58,440
null ู…ุง ูŠูƒูˆู†ุด ูุงุถูŠ ู…ู…ู†ูˆุน ุญุฏ ูŠุฏุฎู„ู‡ ูุงุถูŠ ููŠ ูƒู…ุงู†
278
00:19:58,440 --> 00:20:02,340
ูƒูˆู„ูˆู… by default ุจูŠุงุฎุฏ not null ุงู„ู„ูŠ ู‡ูˆ ู…ูŠู† ุงู„
279
00:20:02,340 --> 00:20:06,200
primary key ูˆุฅู…ุง ู†ุดูˆู ุงู„ primary key by default ุงู„
280
00:20:06,200 --> 00:20:10,760
primary key ุจูŠุงุฎุฏ not null ูˆุจูŠุงุฎุฏ unique
281
00:20:16,580 --> 00:20:21,000
Okay, the unique and the not null are included in the primary
282
00:20:21,000 --> 00:20:26,360
key. ูŠุนู†ูŠ ู„ูˆ ุฃู†ุง ุฌุจุช ุชุนุฑูŠู table ุจู‡ุฐุง ุงู„ุดูƒู„ ูˆ ููŠ
283
00:20:26,360 --> 00:20:30,580
multiple choice ุญูƒูŠู†ุง ุฃุนุทูŠู†ูŠ ุฃุณู…ุงุก ุงู„ columns ุงู„ู„ูŠ
284
00:20:30,580 --> 00:20:36,720
ุงู„ value ุจุชุงุนุชู‡ู… not null ุญุทูŠู†ุง ุฎูŠุงุฑุงุช ุงู„ BID ูˆ ุงู„
285
00:20:36,720 --> 00:20:39,300
last name ูˆ ุงู„ first name ูˆ ุงู„ address ูˆ ุงู„ city
286
00:20:41,050 --> 00:20:43,570
ุจุฏู†ุง ู†ุญูƒูŠ ุงู†ู‡ ุงู„ BID ูˆ ุงู„ last name ู„ูŠุด ุงู„ last
287
00:20:43,570 --> 00:20:47,510
name ู…ูƒุชูˆุจุฉ ุงู†ู‡ุง not null ูˆ ุงู„ ID ุจู…ุง ุงู†ู‡ primary
288
00:20:47,510 --> 00:20:52,670
key ูู‡ูˆ ุถู…ู†ูŠุง not null ู„ูˆ ุณุฃู„ู†ุง ุงุนุทูŠู†ูŠ ูˆูŠู† ููŠ
289
00:20:52,670 --> 00:20:59,430
unique values ู„ู„ columns ุงู„ BID ู„ูŠุด ุงู†ู‡ primary
290
00:20:59,430 --> 00:21:02,710
key ู„ูˆ ูƒุงู† ููŠ ูƒู…ุงู† column ู…ู‚ุงุจู„ู‡ ู…ูƒุชูˆุจ unique ูŠุนู†ูŠ
291
00:21:02,710 --> 00:21:06,210
ุงู†ู‡ candidate key ู‡ูŠุตูŠุฑูˆุง ูƒุงู…ุŸ ู‡ูŠุตูŠุฑูˆุง ุงุชู†ูŠู† ุงู„
292
00:21:06,210 --> 00:21:10,670
primary key ูˆ ุงู„ู„ูŠ ู…ูƒุชูˆุจ ุตุฑุงุญุฉ ุงู…ุงู…ู‡ ุงู†ู‡ unique
293
00:21:12,610 --> 00:21:18,430
ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ู…ุซุงู„ ุจุณูŠุท ุฃู†ู‡ ุฃู†ุง ุนู†ุฏูŠ ุจุชุฏุนู… ุงู„
294
00:21:18,430 --> 00:21:21,890
create table ู„ persons ู„ุฃุดุฎุงุต ุจุฏูŠ PID ูŠุนู†ูŠ person
295
00:21:21,890 --> 00:21:27,430
ID ุฑู‚ู… ู‡ูˆูŠุฉ ุฑู‚ู… ู„ู„ุดุฎุต ุนุจุงุฑุฉ ุนู† number ุฑู‚ู… ู‡ูˆ ูŠุชู…ุซู„
296
00:21:27,430 --> 00:21:30,830
ุงู„ primary key ู„ู„ุฌุฏูˆู„ ุนู†ุฏูŠ last name ุนุจุงุฑุฉ ุนู†
297
00:21:30,830 --> 00:21:33,470
character variable character ุฎู…ุณุฉ ูˆุนุดุฑูŠู† ุญุฑู ู…ุงู„ู‡
298
00:21:33,470 --> 00:21:36,390
not null ู…ู†ุทู‚ูŠ ุงู† ุงู†ุง ุจุฏูŠ ุงู„ last name ุงุณู… ุงู„ุนุงู„ู…
299
00:21:36,390 --> 00:21:39,450
ู…ุงูŠูƒูˆู†ุด ูุงุถูŠ not null ุงู„ first name ุณู…ุญุช ููŠู‡ ุงู†ู‡
300
00:21:39,450 --> 00:21:46,350
ูŠูƒูˆู† ู…ู…ูƒู† ูŠูƒูˆู† null address ู…ู…ูƒู† ูŠูƒูˆู† null ูˆ city ูˆ
301
00:21:46,350 --> 00:21:48,390
ุฒูŠ ู…ุง ุญูƒูŠ ุงู† ุงู„ primary key means automatically
302
00:21:48,390 --> 00:21:56,290
ุงู†ู‡ not null ุงู„ default value ุงู„ default value ู…ู†
303
00:21:56,290 --> 00:21:59,010
ุงู„ุฃู…ูˆุฑ ุงู„ู„ูŠ ุจุชุณุงุนุฏ ุนู†ุฏูŠ ุนู„ู‰ ุงู†ู‡ ู…ุงูŠูƒูˆู†ุด ุงู„ field
304
00:21:59,010 --> 00:22:03,010
null ู„ุฃู†ู‡ ุงู†ุง ู…ุง ุจุญุท default value ู…ุนู†ุงุชู‡ ู„ูˆ ูˆุงุญุฏ
305
00:22:03,010 --> 00:22:05,750
ู…ุงุฏุฎู„ุด ุงู„ value ู‡ุฐู‡ ู…ุจุงุดุฑุฉ ุจุฏู‡ ูŠุฌูŠุจ ุงู„ default
306
00:22:05,750 --> 00:22:09,750
value ูˆ ูŠุญุทู‡ุง ูˆูŠู†ุŸ ููŠ ุงู„ attribute ูุฅูŠุด ุชู†ูุนู†ูŠุŸ
307
00:22:09,750 --> 00:22:13,010
ุชู†ูุนู†ูŠ ู…ุซู„ุง ููŠ ู…ุซุงู„ ุฒูŠ ู‡ุฐุง ุจุฏูŠ ุฃุญุท country ุฃู†ุง
308
00:22:13,010 --> 00:22:16,310
ุนุงู…ู„ ู…ูˆู‚ุน ูˆ ุฃุบู„ุจ ุงู„ู†ุงุณ ุงู„ู„ูŠ ุจุชูŠุฌูŠ ูŠุณุฌูˆุง ููŠ ุงู„ู…ูˆู‚ุน
309
00:22:16,310 --> 00:22:19,270
ุฃู†ุง ู…ูˆู‚ุน ูู„ุณุทูŠู†ูŠ ู…ุซู„ุง ู…ุชูˆู‚ุน ุฃู† ุฃุบู„ุจ ุงู„ู„ูŠ ุจูŠุฌูŠ
310
00:22:19,270 --> 00:22:23,090
ูŠุณุฌูˆุง ููŠ ุงู„ู…ูˆู‚ุน ู†ุงุณ ู…ู† ูู„ุณุทูŠู† ู…ูˆู‚ุน ู„ุดุฑูƒุฉ ุฌูˆุงู„ ู„
311
00:22:23,090 --> 00:22:26,970
ุจุงู„ุชู„ ู…ุด ู‡ูŠุฌูŠ ูˆุงุญุฏ ู…ู† ุงู„ุณุนูˆุฏูŠุฉ ุฃูˆ ุงู„ุฃุฑุฏู† ูŠุณุฌู„ ู„ูƒู†
312
00:22:26,970 --> 00:22:30,050
ุจุฏู†ุง ู†ูƒูˆู† ูุงุชุญูŠู† ุจุงุจ ุงู„ุชุณุฌูŠู„ ู…ู† ูƒู„ ุฏูˆู„ ุงู„ุนุงู„ู… ู†ูุฑุถ
313
00:22:30,050 --> 00:22:33,910
ููŠ ูู„ุณุทูŠู† ุจุฑุง ุจุณ ุฃู†ุง ู…ุชูˆู‚ุน ุฃู† ุฃุบู„ุจ ุงู„ุฌู…ู‡ูˆุฑ ู…ู† ูˆูŠู†ุŸ
314
00:22:34,250 --> 00:22:38,030
ู…ู† ูู„ุณุทูŠู† ูุจุนุฏูŠู† ุจุญุท ุงู†ู‡ ุงู„ country ุงู„ default
315
00:22:38,030 --> 00:22:42,130
ูู„ุณุทูŠู† ูู„ูˆ ุฏุฎู„ู†ุง ุนู„ู‰ ุงู„ database ุงู„ country ู‡ูŠุงุฎุฏ
316
00:22:42,130 --> 00:22:46,210
ุงู„ value ุงู„ู„ูŠ ุงุญู†ุง ุฏุฎู„ู†ุงู‡ุง ู„ูˆ ู…ุงุฏุฎู„ู†ุงุด ู‡ูŠุงุฎุฏ ุงู„
317
00:22:46,210 --> 00:22:49,970
default ุงู„ู„ูŠ ู‡ูŠ ูู„ุณุทูŠู† ูƒู…ุงู† ูˆูŠู† ู‡ูŠุณุชุฎุฏู… ุงู„ default
318
00:22:49,970 --> 00:22:52,750
ู„ูˆ ูƒุงู† ู‡ุฐุง ุงู„ table ุงูˆ ุงู„ relation ู…ุฑุจูˆุทุฉ ููŠ table
319
00:22:52,750 --> 00:22:57,390
ุซุงู†ูŠุฉ ูƒ foreign key ูˆ ุงุฌูŠ ูˆุงุญุฏ ุนู…ู„ ุงู„ู„ูŠ ู‡ูŠ on
320
00:22:57,390 --> 00:23:02,770
delete set default ุงู„ู„ูŠ ุฃุฎุฏู†ุงู‡ุง ู‚ุจู„ ุดูˆูŠู‡ ูู…ุจุงุดุฑุฉ
321
00:23:02,770 --> 00:23:07,890
ู‡ูŠูŠุฌูŠ ูŠุณุชุฎุฏู… ููŠ ุญุงู„ ุช delete ูŠุญุท ู‚ูŠู…ุฉ ุงู„ default
322
00:23:07,890 --> 00:23:10,950
ูƒูŠู ุจู†ุนุฑู ุงู„ default ุจุงู„ุทุฑูŠู‚ุฉ ู‡ุฐู‡ ู‡ูŠ ุนู†ุฏูŠ table
323
00:23:10,950 --> 00:23:14,690
persons ุงู„ู„ูŠ ูƒุงู† ููŠู‡ ุงู„ ID ุฑู‚ู… ุงู„ู‡ูˆูŠุฉ ู‡ูˆ ุงู„
324
00:23:14,690 --> 00:23:18,890
primary key ุงู„ last name not null ุงู„ country ุงู„
325
00:23:18,890 --> 00:23:21,330
default ูู„ุณุทูŠู†
326
00:23:25,430 --> 00:23:28,470
ุงู„ domain constraint ุดุฑุญู†ุงู‡ ุจุดูƒู„ ู…ุจุฏุฃูŠ ููŠ ุจุฏุงูŠุฉ
327
00:23:28,470 --> 00:23:32,910
ุงู„ุดุจุทุฉ ุงุชูƒู„ู…ู†ุง ุงู† ูƒู„ ูƒู„ู… ู„ู‡ domain constraint ู…ู†
328
00:23:32,910 --> 00:23:36,270
ุฎู„ุงู„ ุงู„ data type ุงู„ู„ูŠ ู„ู‡ ุฒูŠ ุงูŠุด ููŠ ุนู†ุฏู†ุง data
329
00:23:36,270 --> 00:23:39,830
types number number ุงูˆ integer ุงูˆ real date
330
00:23:39,830 --> 00:23:42,690
character ุจุฌู…ูŠุน ุงู†ูˆุงุนู‡ character variable
331
00:23:42,690 --> 00:23:47,590
character ู„ู„ strings ุงู„ุงู† ู„ูˆ ุงู†ุง ุจุฏูŠ ุงุญุฏุฏ ููŠ ุงู„
332
00:23:47,590 --> 00:23:52,090
domain constraint ุงูƒุชุฑ ูŠุนู†ูŠ ุงู†ุง ุงู„ุญุงู„ุฉ ุงู„ุงุฌุชู…ุงุนูŠุฉ
333
00:23:53,590 --> 00:23:58,410
ู„ู„ู…ูˆุธู ู…ุซู„ุง ุฅู†ู‡ ุฃุนุฒุจ ู…ุชุฒูˆุฌ ู…ุทู„ู‚ ุฃุฑู…ู„ ุฃูˆ ุฃุฑู…ู„ ุฃูˆ
334
00:23:58,410 --> 00:24:02,770
ูƒุฐุง ู‡ุฐู‡ text ู„ูƒู† ู‡ู„ ุฃู†ุง ู„ูˆ ุนู…ู„ุช ููŠ ุงู„ database
335
00:24:02,770 --> 00:24:06,290
ุฅู†ู‡ุง character ุฃูˆ variable character ูƒูุงูŠุฉุŸ ุทุจ ู‡ูˆ
336
00:24:06,290 --> 00:24:10,250
ู…ู…ูƒู† ูŠูŠุฌูŠ ูˆุงุญุฏ ูˆูŠุนุจูŠู„ูŠ ููŠ ู…ุญู„ ุงู„ุญุงู„ุฉ ุงู„ุงุฌุชู…ุงุนูŠุฉ
337
00:24:10,250 --> 00:24:13,950
ูŠูƒุชุจู„ูŠ ู„ุฏูŠ ุฎู…ุณ ุฃูˆู„ุงุฏ ู…ุด text ู‡ุงูŠ ู„ุฏูŠ ุฎู…ุณ ุฃูˆู„ุงุฏ
338
00:24:13,950 --> 00:24:18,010
text ูˆ character ู‡ุชุงุฎุฏู‡ุง ุงู„ database ุทุจ ู‡ุฐุง ู‡ูˆ
339
00:24:18,010 --> 00:24:20,910
ุงู„ุดูŠ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠู‡ุง ูƒ designer ุงูˆ ูƒู…ุจุฑู…ุฌ ู„ุฃ
340
00:24:20,910 --> 00:24:25,070
ู…ุนู†ุงุชู‡ ุงู†ุง ุจุฏูŠ ุงุญุฏุฏู„ู‡ text ูˆ ุจุฏูŠ ุชุงุฎุฏ ู…ู† ุงู„ values
341
00:24:25,070 --> 00:24:27,430
ูˆุงุญุฏ ุงุชู†ูŠู† ุชู„ุงุชุฉ ุงุฑุจุน ู‡ุฏูˆู„ ุจุฏูŠ ุงุญุฏุฏู„ูˆ ุงูŠุด ุงู„
342
00:24:27,430 --> 00:24:30,570
values ูˆ ุจุฏูŠ ุงุฏุฎู„ู‡ู… ุจุฏูŠ ุงู…ู†ุน ูˆ ุงุฏุฎู„ values
343
00:24:30,570 --> 00:24:34,010
ู…ุงุจุชู†ุงุณุจู†ูŠุด ุงู„ุชุญุฏูŠุฏ ู‡ุฐุง ุจุชู… ู…ู† ุฎู„ุงู„
344
00:24:36,750 --> 00:24:41,370
check ุงู„ check ู‡ุฐู‡ ููŠู‡ุง ุทุฑูŠู‚ุชูŠู† ุงู„ุงุณุชุฎุฏุงู… ุงู…ุง ุงู†ูŠ
345
00:24:41,370 --> 00:24:45,890
ุจุณุชุฎุฏู…ู‡ุง ู…ุจุงุดุฑุฉ ููŠ ุงู„ create table ุฒูŠ ู…ุง ุนู…ู„ู†ุง
346
00:24:45,890 --> 00:24:49,810
ู…ุซู„ุง create table ูˆ ุฌูŠู†ุง ุญูƒูŠู†ุง ุงู„ู„ูŠ ู‡ูˆ ุงู„ name
347
00:24:49,810 --> 00:24:55,450
character 40 ุจุนุฏ ุงู„ character 40 ู‡ุงูŠ ุจุญุท ุงู†ู‡ check
348
00:24:55,450 --> 00:24:59,430
ูˆ ุงูŠุด ุงู„ expression ุงูˆ ุงูŠุด ุงู„ูุญุต ุงู„ู„ูŠ ุจุฏูŠ ุงูุญุตู‡
349
00:24:59,430 --> 00:25:03,060
ุงู„ู…ุนู„ูˆู…ุฉ ุงู„ู„ูŠ ุจุฏูŠ ุงุชุฃูƒุฏ ู…ู†ู‡ุง ู‡ูŠ ุงู„ุทุฑูŠู‚ุฉ ุงู„ุฃูˆู„ู‰ ู…ุซุงู„
350
00:25:03,060 --> 00:25:07,400
ุนู„ูŠู‡ุง ู‡ูŠ example ููŠ ุนู†ุฏูŠ status ูƒูˆู„ูˆู… ุงุณู…ู‡ status
351
00:25:07,400 --> 00:25:10,440
attribute ู‡ุฐุง ุงู„ status ุนุจุงุฑุฉ ุนู† variable
352
00:25:10,440 --> 00:25:14,260
character ุฎู…ุณ ุฃุญุฑู ู„ูƒู† ุฃู†ุง ู…ุง ุจุฏูŠุด ูŠุง ูŠุญุท ููŠู‡ ุฅู„ุง
353
00:25:14,260 --> 00:25:18,020
ูŠุง ุฅู…ุง true ูŠุง ุฅู…ุง false ูƒูŠู ุจุฏูŠ ุฃุนู…ู„ู‡ุง status
354
00:25:18,020 --> 00:25:23,200
variable character to ุฎู…ุณ ุฃุญุฑู ุงุชุดูŠูƒ ุงูุญุต ุงู„
355
00:25:23,200 --> 00:25:29,740
status ู‡ูŠ status in ููŠ ู‡ุฐู‡ ุงู„ู‚ุงุฆู…ุฉ ู„ุงุฒู… ุชูƒูˆู† ู‚ูŠู…ุฉ
356
00:25:29,740 --> 00:25:34,260
ุงู„ู„ูŠ ููŠ ุงู„ู‚ุงุฆู…ุฉ status in true ูุงุตู„ุฉ false ู„ูˆ ุจุฏู†ุง
357
00:25:34,260 --> 00:25:38,880
ู…ุซู„ุง ุฒูŠ ู…ุซุงู„ ู‡ูŠ ุงู„ุฃุนุฒุจ ู…ุชุฒูˆุฌ ู…ุทู„ู‚ ุฃุฑู…ู„ ู‡ุชูƒูˆู† ุงู„
358
00:25:38,880 --> 00:25:44,560
status in ูˆ ุฃุนุฒุจ ู…ุชุฒูˆุฌ ูƒู…ุงู† ูุงุตู„ุฉ ู…ุทู„ู‚ ูˆ ุฃุฑู…ู„ ูˆ
359
00:25:44,560 --> 00:25:49,960
ุชูƒูˆู† ู‡ุฐู‡ ู…ุซู„ุง ุงู„ู„ูŠ ู‡ูŠ ุงู„ marial status ุญุงู„ุฉ ุงู„ุฒูˆุงุฌ
360
00:25:49,960 --> 00:25:55,410
ุชู…ุงู… ูŠุนู†ูŠ ู‡ุชุฏุฎู„ ุจุฑุถู‡ ุงู„ู‚ุงุฆู…ุฉ ุงู‡ ู‡ุฐู‡ ุงู„ู‚ูŠู…ุฉ ุงู„ู…ุณู…ูˆุญ
361
00:25:55,410 --> 00:25:59,490
ููŠู‡ุง ูู‡ูˆ ู‡ูŠุตูŠุฑ ูŠุฎุฒู† character ู„ูƒู† ู„ู…ุง ูŠูŠุฌูŠ ูŠุฎุฒู†
362
00:25:59,490 --> 00:26:03,750
ุจุฏู‡ ูŠูŠุฌูŠ ูŠูุญุต ูŠุนู…ู„ check ุงูŠุด ูŠุนู†ูŠ checkุŸ ูุญุต ู‡ูŠุฌูŠ
363
00:26:03,750 --> 00:26:06,450
ูŠูุญุต ู‡ู„ ู‡ูŠ ุงู„ู‚ูŠู…ุฉ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู‚ุงุฆู…ุฉ ุงู„ู„ูŠ ุฃู†ุง
364
00:26:06,450 --> 00:26:11,030
ุญุฏุฏุชู„ู‡ ุงูŠุงู‡ุง ูˆู„ุง ู„ุฃ countries ุฃู†ุง ุจุฏู‡ ุฃุณู…ุญู„ู‡ ูŠุฏุฎู„
365
00:26:11,030 --> 00:26:15,790
country ุงุณู… ุจู„ุฏ ุทุจ ู…ุง ู‡ูŠ text ู„ูƒู† ุจุฏู‡ ูŠูƒุชุจู„ูŠ ุฃูŠ
366
00:26:15,790 --> 00:26:20,630
ุงุณู… ุฏูˆู„ุฉ ุน ูƒูŠูู‡ ุจุฏู‡ ูŠูƒุชุจ ู„ุงุณู… ุฏูˆู„ุฉ ู…ูˆุฌูˆุฏุฉ ูุจุฏุง ุงูƒูˆู†
367
00:26:20,630 --> 00:26:24,230
ุฃู†ุง ุงุนู…ู„ ู‚ุงุฆู…ุฉ ุจุงุณู…ู‡ุง ุงู„ุฏูˆู„ ูุจุฏุง ุงุญุท ู‚ุงุฆู…ุฉ ุงุณู…ู‡ุง
368
00:26:24,230 --> 00:26:28,390
ุงู„ุฏูˆู„ ูˆูŠู† ููŠ ุงู„ check ุงู„ country in ุทุจุนุง ุงุณู… ูƒู„ู‡ู…
369
00:26:28,390 --> 00:26:31,790
ุจูŠูƒูˆู† country variable character ู…ุซู„ุง ุงุฑุจุนูŠู† ุญุฑู
370
00:26:31,790 --> 00:26:37,530
ุงู„ check country in ูˆ ุงุนุทูŠู‡ ู‚ุงุฆู…ุฉ ุทูˆูŠู„ุฉ ุจุงุณู…ู‡ุง ุงู„
371
00:26:37,530 --> 00:26:42,170
countries ู‡ุชุธู‡ุฑ ุนู†ุฏูŠ ุงู„ุขู† ุงู„ู…ุดูƒู„ุฉ ุงู„ุชุงู†ูŠุฉ ุทุจ ุฃู†ุง
372
00:26:42,170 --> 00:26:44,450
ุงุฐุง ุงู„ countries ุนุฏุฏู‡ู… ูƒุจูŠุฑ ู…ุซู„ุง ุงู„ true ูˆ false
373
00:26:44,450 --> 00:26:48,680
ุตุบูŠุฑุฉ ูุณู‡ู„ ุงู† ุงุญุทู‡ุง ูˆูŠู† ููŠ ุงู„ create table ุทุจ ุฃู†ุง
374
00:26:48,680 --> 00:26:52,240
ู…ุซู„ุง ููŠ ู…ุซุงู„ ุฃุณู…ุงุก ุงู„ุฏูˆู„ ุฃูˆ ุฃุณู…ุงุก ุงู„ู…ุฏู† ู‚ุงุฆู…ุฉ
375
00:26:52,240 --> 00:26:56,380
ุทูˆูŠู„ุฉ ุทุจ ุจุฏุฃ ุฃุญุทู‡ุง ูƒู„ู‡ุง ุฌูˆุง ุงู„ create table ู‡ุชุตูŠุฑ
376
00:26:56,380 --> 00:27:00,360
ุงู„ create table command ู…ุด ู…ู‚ุฑูˆู‚ ูŠุนู†ูŠ ุงู„ูˆุงุญุฏ
377
00:27:00,360 --> 00:27:04,300
ู‡ูŠุถูŠุนู‡ ูˆ ูŠู‚ุฑุฃ ููŠู‡ ุงูŠุด ุงู„ุญู„ุŸ ุงู„ุญู„ ุฅู†ู‡ ู†ุงุฎุฏ ุงู„ check
378
00:27:04,300 --> 00:27:10,500
ู‡ุฐู‡ ุจุฑุฉ ุงู„ create table ูƒูŠู ู‡ู†ุงุฎุฏู‡ุง ุจุฑุฉ ู‡ู†ุดูˆู ููŠ ุงู„
379
00:27:10,500 --> 00:27:13,700
slide ุงู„ุชุงู†ูŠ ุจุณ ุฏู‡ ุดุฑุญ ู…ุซุงู„ ุบูŠุฑ ุงู„ string ุฏู‡ ุดุฑุญ
380
00:27:13,700 --> 00:27:17,320
ู…ุซุงู„ ุนู„ู‰ ุงู„ุฃุฑู‚ุงู… ุฃู†ุง ุงู„ .. ุงู„ .. ุงู„ .. ูŠุนู†ูŠ ุฃุญุท
381
00:27:17,320 --> 00:27:21,390
ุงุณู… ุงู„ูƒูˆู„ูˆู… in ูˆ ุฃุญุท values ู…ู†ุงุณุจ ู„ู…ูŠู†ุŸ ู…ู†ุงุณุจ ู„ู„
382
00:27:21,390 --> 00:27:26,150
text ู†ูˆุนุง ู…ุง ููŠ ุงู„ุฃุฑู‚ุงู… ุฃุญูŠุงู† ุจู„ุฒู…ู†ูŠ ranges ู…ุซู„ุง
383
00:27:26,150 --> 00:27:30,630
ุจุฏูŠ ู…ู† ุฃู„ู ู„ุนุดุฑุฉ ุขู„ุงู ู„ูˆ ุจุฏูŠ ุฃุนู…ู„ู‡ุง check in ู‡ุฐู‡ ุฒูŠ
384
00:27:30,630 --> 00:27:34,570
ู‡ูŠูƒ ุฃู†ู‡ ุงุณู…ู‡ุง in ูƒุฐุง ู…ุนู†ุงู‡ ุจุฏูŠ ุฃูƒุชุจ ุฃู„ู ูุงุตู„ุฉ ุฃู„ู
385
00:27:34,570 --> 00:27:37,290
ูˆ ูˆุงุญุฏ ูุงุตู„ุฉ ุฃู„ู ูˆ ุงุชู†ูŠู† ูุงุตู„ุฉ ุฃู„ู ูˆ ุชู„ุงุชุฉ ูุงุตู„ุฉ
386
00:27:37,290 --> 00:27:40,170
ุฃู„ู ูˆ ุฎู…ุณุฉ ูˆ ุนุฏ ู„ุฃูˆุตู„ ู„ุฑู‚ู… ุงู„ maximum ุงู„ู„ูŠ ุฃู†ุง
387
00:27:40,170 --> 00:27:46,030
ุจุฏูŠู‡ ูุทูˆูŠู„ุฉ ุฌุฏุง ุงูŠุด ุงู„ุญู„ุŸ ุญู„ ุฃู†ูŠ ุฃุณุชุฎุฏู… logics
388
00:27:46,030 --> 00:27:51,470
expressions ุฒูŠ ู‡ูŠ ุงู†ู‡ ุฃู†ุง ุจุฏูŠ ุงู„ year ุชูƒูˆู† number
389
00:27:51,470 --> 00:27:57,670
ู…ู† ุฃุฑุจุน ุฎุงู†ุงุช ูˆุฃุชุฃูƒุฏ ุฃู†ู‡ year ุฃูƒุจุฑ ู…ู† 2004 ุงู„ salary
390
00:27:57,670 --> 00:28:01,910
ุฒูŠ ู…ุง ุญูƒูŠู†ุง ู…ุฑุฉ ู…ุซุงู„ ู„ู„ุฑูˆุงุชุจ salary ุงู„ุฑุงุชุจ ู…ุซู„ุง
391
00:28:01,910 --> 00:28:08,070
ุงู„ุญุฏ ุงู„ุฃุฏู†ู‰ ู„ู‡ 200 ุฃูƒุจุฑ ู…ู† ุฃูˆ ูŠุณุงูˆูŠ 200 ุงู„ุญุฏ
392
00:28:08,070 --> 00:28:12,910
ุงู„ุฃุนู„ู‰ ู„ู‡ ู…ุซู„ุง 3000 ุฏูˆู„ุงุฑ ุฃูƒุจุฑ ู…ู† ุฃูˆ ูŠุณุงูˆูŠ 3000
393
00:28:12,910 --> 00:28:16,690
ูุจุงู„ุชุงู„ูŠ ุฃู†ุง ู‡ุณู…ุญ ุงู† ุงู„ุฑุงุชุจ ูŠูƒูˆู† ู…ู† 200 ู„ 3000
394
00:28:16,690 --> 00:28:21,370
ุจุฏูˆู† ุงู† ุงูƒุชุจ 200, 201, 202, 203, 204 ู„ู…ุง ุงูˆุตู„ ู„
395
00:28:21,370 --> 00:28:27,930
3000 ููŠ ุฌู…ู„ุฉ ุฒูŠ ู‡ุฐู‡ ู…ู…ูƒู† ูƒู…ุงู† ุฌูˆู‡ ุงู„ check ููŠ
396
00:28:27,930 --> 00:28:34,730
ุงู„ุฌู…ู„ุฉ ุงุณุชุฎุฏู… ุงู„ or ูˆ ุงู„ and ุงุฐุง
397
00:28:34,730 --> 00:28:38,370
ู„ุงุฒู…ู†ูŠ ุฃูุญุต ุจุดูƒู„ ู…ุนูŠู† ู„ุงุฒู…ู†ูŠ ููŠู‡ ุงู„ or ูˆ ุงู„ and
398
00:28:38,370 --> 00:28:38,890
ู…ู…ูƒู†
399
00:28:42,410 --> 00:28:44,870
ุงู„ุทุฑูŠู‚ุฉ ุงู„ุชุงู†ูŠุฉ ู„ู„ check ุฒูŠ ู…ุง ุญูƒูŠู†ุง ุงู†ู‡ ู†ุทู„ุนู‡ุง
400
00:28:44,870 --> 00:28:50,090
ุจุฑู‡ ุงู„ create table ูˆ ู†ุนู…ู„ data type ุฌุฏูŠุฏ ุงุญู†ุง ู…ุด
401
00:28:50,090 --> 00:28:53,870
ูƒู†ุง ู„ู…ุง ู†ูŠุฌูŠ ู†ุนู…ู„ ุงู„ student ID ู†ุนู…ู„ู‡ character ุงูˆ
402
00:28:53,870 --> 00:28:58,790
number ูˆ ู†ูŠุฌูŠ ุนู„ู‰ ุชุงุฑูŠุฎ ุงู„ู…ูŠู„ุงุฏ ู†ุนู…ู„ู‡ date ุจุฏูŠ ุงู†ุดุฆ
403
00:28:58,790 --> 00:29:02,490
ุฃู†ุง data type ุฎุงุต ููŠุง ู…ุด date ูˆ ู…ุด real ูˆ ู…ุด
404
00:29:02,490 --> 00:29:05,110
integer ูˆ ู…ุด number ุจุฏูŠ ุงุนู…ู„ ุงุดูŠ ุฌุฏูŠุฏ ุฎุงุต ููŠุง ุจุฏูŠ
405
00:29:05,110 --> 00:29:11,670
ุงุณู…ูŠ ู…ุซู„ุง ุงู„ู€ MS ุงู„ marriage status ุงู„ุญุงู„ุฉ
406
00:29:11,670 --> 00:29:17,550
ุงู„ุงุฌุชู…ุงุนูŠุฉ ุญุงู„ุฉ ุงู„ุฒูˆุงุฌ ุงู†ู‡ ุฃุนุฒุจ ุฃุฑู…ู„ ู…ุทู„ู‚ ู…ุชุฒูˆุฌ
407
00:29:17,550 --> 00:29:23,050
ูˆ ุงุฌูŠ ู„ู…ุง ุงูƒุชุจ ุงู„ variable ููŠ ุงู„ุฌุฏูˆู„ ุชุจุน ุงู„ create
408
00:29:23,050 --> 00:29:25,250
table ู…ุซู„ุง ุจุฏูŠ ุงูƒุชุจ ุงู†ู‡ ุงู„ status
409
00:29:27,790 --> 00:29:33,910
ู†ูˆุนู‡ุง ู…ุด variable character ู‡ูŠุตูŠุฑ ู†ูˆุนู‡ุง ู…ูŠู†ุŸ MS ูˆ
410
00:29:33,910 --> 00:29:36,370
ุงูƒุชุจ ุนู„ูŠู‡ุง ู…ุซู„ุง not null ุงูˆ primary key ุงูˆ foreign
411
00:29:36,370 --> 00:29:41,510
key ุงุฐุง ุจุฏูŠ ุฎู„ุงุต ูˆ ุจุณ ุจุฏูˆู† ุชุดูŠูƒ ู„ูŠุดุŸ ู„ุฃู† ู‡ุฐุง ุงู„ู€ MS
412
00:29:41,510 --> 00:29:44,330
ุงู†ุง ุนุฑูุชู‡ ู†ูˆุน ุฌุฏูŠุฏ ูƒูŠู ุจูŠุนุฑูู‡ ู†ูˆุน ุฌุฏูŠุฏุŸ ุจูŠุนุฑูู‡
413
00:29:44,330 --> 00:29:48,330
domain ุฌุฏูŠุฏ ุนุดุงู† ุญูƒูŠู†ุง ุงู† ุงู„ character domain ูˆ ุงู„
414
00:29:48,330 --> 00:29:51,870
date domain ูƒู„ ูˆุงุญุฏุฉ domain ู„ุญุงู„ ุจุฏูŠ ุงุนู…ู„ domain
415
00:29:51,870 --> 00:29:58,830
ุฎุงุต ููŠู‡ create domain ุญุงุฌุฉ ุฃูƒุชุจ create domain ุฒูŠ
416
00:29:58,830 --> 00:30:03,390
create table ุจุฏูŠ ุงู†ุดุฆ domain ุฌุฏูŠุฏ ุจุฏูŠ ุฃุนุทูŠู‡ ุงุณู… ููŠ
417
00:30:03,390 --> 00:30:08,350
ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ุณู…ูŠุชู‡ status type as ุงูŠุด as
418
00:30:08,350 --> 00:30:10,670
character ู„ุฅู†ูŠ ุจุฏูŠ ุฃุณุชุฎุฏู…ู‡ ุนู„ู‰ ุดูƒู„ character ุทุจ ู„ูˆ
419
00:30:10,670 --> 00:30:14,510
ูƒู†ุช ุจุฏูŠู‡ุง ููŠ ุญุงู„ุฉ ุงู„ salary ุจุฏูŠู‡ุง ุฑู‚ู… ู…ุด ููŠ ุงู„
420
00:30:14,510 --> 00:30:17,630
salary ุงู„ู„ูŠ ุฏู„ูˆู‚ุชูŠ ุจุฏูŠู‡ุง ุฑู‚ู… ู‡ุนู…ู„ as number as
421
00:30:17,630 --> 00:30:20,790
ู„ูˆ ุจุฏูŠู‡ุง ุชุงุฑูŠุฎ as date
422
00:30:22,680 --> 00:30:26,620
create domain ุงุนุทูŠุชู‡ ุงุณู… ู…ู† ุนู†ุฏูŠ as ุดูƒู„ู‡ ุฒูŠ ุงูŠุด
423
00:30:26,620 --> 00:30:29,120
ุดูƒู„ู‡ ุฒูŠ ุงู„ู€ character ุฒูŠ ุงู„ู€ date ุฒูŠ ุงู„ู€ string ุจุญุฏุฏ
424
00:30:29,120 --> 00:30:33,100
ุงูŠุด ุงู„ู„ู‰ ุจุฏูŠู‡ุง ุงู„ูˆ ู‚ูŠู…ุฉ default ุฅุฐุง ุจุฏูŠ ู‡ูŠ ู…ู…ูƒู†
425
00:30:33,100 --> 00:30:40,000
ู…ูƒุชุจู‡ุงุด ุฅุฐุง ุจุฏูŠ ุงุนุทูŠู‡ ู‚ูŠู…ุฉ default ุจุญุท default
426
00:30:40,000 --> 00:30:45,960
ู…ุซู„ุง T ุงูˆ true ุงูˆ ุงุฐุง ูƒุงู†ุช ู…ุซู„ุง ุฑู‚ู… ุงู„ู€ salary
427
00:30:45,960 --> 00:30:50,110
default 200 ุงู„ู„ู‰ ู‡ูˆ ุงู‚ู„ ุงู„ุฑุงุชุจ ู…ู…ูƒู† ุงู†ุง ุงุนุทูŠู‡ ุฅุฐุง
428
00:30:50,110 --> 00:30:54,350
ุจุฏูŠ ุฃุญูƒูŠ ุนู† ู…ุซุงู„ ุงู„ุฑูˆุงุชุจ ุจุนุฏูŠู† ุจูƒุชุจ check ุนู…ู„ูŠุฉ
429
00:30:54,350 --> 00:30:56,530
ุงู„ูุญุต ุงู„ู„ู‰ ุจุฏูŠ ุฃุนู…ู„ู‡ุง ู†ูุณ ุฌู…ู„ุฉ ุงู„ู€ check ุงู„ู„ู‰ ูƒู†ุช
430
00:30:56,530 --> 00:31:01,970
ุจุฏูŠ ุฃูƒุชุจู‡ุง ูˆูŠู† ููŠ ุงู„ู€ table ูุนู…ู„ check value NTF
431
00:31:01,970 --> 00:31:05,750
ู‡ุฐุง ุงู„ู…ุซุงู„ ุจู†ุณุจู†ูŠ ููŠ ุญุงู„ุฉ ุงู„ู€ country ุญุงุฌุฉ ุฃุนู…ู„
432
00:31:05,750 --> 00:31:12,670
create domain ุงูŠุด ุชุณู…ูŠู‡ as country
433
00:31:12,670 --> 00:31:16,390
ุงูŠุด ุจุฑุถู‡ character ุฃูˆ variable character ุงู„ู€
434
00:31:16,390 --> 00:31:19,050
default ู…ุซู„ุง ุฅุญู†ุง ููŠ ูู„ุณุทูŠู† ุจุฏูŠ ุฃุญุทู‡ุง ุงูŠุด
435
00:31:22,100 --> 00:31:25,920
ุจุงู„ุณุชุงู†ูŠ ุงุชุดูŠูƒ value in ูˆ ุงุนู…ู„ ุงู„ู‚ุงุฆู…ุฉ ุงู„ุทูˆูŠุฉ ุงู„ู„ูŠ
436
00:31:25,920 --> 00:31:29,220
ุญูƒูŠู†ุง ุนู†ู‡ุง ุงู„ู„ูŠ ุจูŠุญุท ููŠู‡ุง 100 ุฏูˆู„ุฉ ูˆู„ุง 110 ุฏูˆู„ุฉ
437
00:31:29,220 --> 00:31:33,960
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏูŠู† ููŠ ุงู„ุฃู…ู… ุงู„ู…ุชุญุฏุฉ ูˆ ุงุญุท ุงู„ู‚ุงุฆู…ุฉ ูƒู„ู‡ุง
438
00:31:33,960 --> 00:31:38,860
ูู„ู…ุง ุงุฌูŠ ููŠ ุงู„ุฌุฏูˆู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ุดุงูŠููŠู† ู…ุซุงู„ู‡ุง ุชุจุน ุงู„ู€
439
00:31:38,860 --> 00:31:42,090
country ู…ุด ุญุงุฌุฉ ุงูƒุชุจ country variable character
440
00:31:42,090 --> 00:31:46,750
ู‡ูƒุชุจ country ู…ุซู„ุง ุจุชุบูŠุฑ ูƒุชุงุจุชู‡ุง ุนุดุงู† ู…ุง ู†ุทู„ุน ุฎุจุทุด
441
00:31:46,750 --> 00:31:51,890
ููŠู‡ุง ู…ุซู„ุง ุจุชุณู…ูŠู‡ุง CO country ู†ูˆุนู‡ุง ุงูŠุดุŸ ู†ูˆุนู‡ุง
442
00:31:51,890 --> 00:31:56,270
country ู„ูŠุด ู†ูˆุนู‡ุง countryุŸ ู„ุฃู† ู‡ุฐุง ุงู„ู†ูˆุน ุงุญู†ุง
443
00:31:56,270 --> 00:32:03,610
ูƒุชุจู†ุงู‡ ูˆูŠู†ุŸ ู„ู…ุง ุนุฑูู†ุง ุงู„ู€ domain ุชู…ุงู…ุŸ
444
00:32:03,610 --> 00:32:06,830
ู‡ูŠุง ู„ู…ุง ูƒุชุจู†ุงู‡ ุงู†ุง create domain ุณู…ูŠู†ุงู‡ุง country
445
00:32:06,830 --> 00:32:09,270
ูˆุตู„ุชุŸ
446
00:32:14,040 --> 00:32:20,160
ุงู„ุขู† ุฃู†ุดุฃู†ุง ุงู„ู€ tables ูˆ ุฎู„ุตู†ุง ู…ู† ุงู„ู€ ICs ุงู„ู€
447
00:32:20,160 --> 00:32:23,780
integrity constraints ุนุดุงู† ู†ุฑุงุฌุน ุงู„ุณุฑูŠุน ูƒู…
448
00:32:23,780 --> 00:32:28,600
integrity constraint ุดุฑุญู†ุง ู…ูŠู† ุงุชุฐูƒุฑู†ุงู‡ ุงูŠุด ู‡ู… ุงูŠุด
449
00:32:28,600 --> 00:32:30,560
ุงุณู…ู‡ู… ุงู„ู€ integrity constraints ุงู„ู„ูŠ ุดุฑุญู†ุงู‡ู… ุฎู„ุงู„
450
00:32:30,560 --> 00:32:34,280
ุชู„ุช ู…ุญุงุถุฑุงุช ุงู„ู„ูŠ ูุงุชูˆุง ุดุฑุญู†ุง ุงู„ู€ domain constraint
451
00:32:34,280 --> 00:32:40,760
primary key foreign key not null ุงู„ู€ unique ุงู„ู„ูŠ ู‡ูˆ
452
00:32:40,760 --> 00:32:47,220
ุงู„ู€ candidate key ุงูŠุด ูƒู…ุงู† ุงู„ู€ default ูŠุนู†ูŠ ูŠุชุจุน ุจุณ
453
00:32:47,220 --> 00:32:51,520
ู…ุด candidate ู…ุด .. ู…ุด integrity constraint ุชู…ุงู…ุŸ
454
00:32:51,520 --> 00:32:54,540
ุงู„ุขู† ูƒู„ ู‡ุฐู‡ ุงู„ู€ constraint ูƒุงู†ุช ุชู„ุฒู…ู†ูŠ ููŠ ุฌู…ู„ุฉ ู…ูŠู†
455
00:32:54,540 --> 00:33:01,480
create table ุนุดุงู† ุฃู†ุดุฆ ุงู„ู€ table ู„ุฅู†ู‡ ุฃู†ุง ุจุนุฑู ุงู„ู€
456
00:33:01,480 --> 00:33:03,560
primary ูˆ ุงู„ูุฑู† ูˆ ุงู„ู€ unique ูˆ ุงู„ู€ not null ูˆูŠู†
457
00:33:03,560 --> 00:33:07,280
ุจุนุฑูู‡ู…ุŸ ููŠ ุงู„ู€ table ุทุจ ุงู„ุขู† ุฃู†ุดุฃู†ุง ุงู„ู€ table ุงู„ู€
458
00:33:07,280 --> 00:33:12,230
table ู‡ุฐุง ูƒุงู† ูŠู†ุดูŠ ุนู†ุฏูŠ ุงูŠุด .. ุงูŠุด ุณู…ู†ุงู‡ุง ุงุญู†ุงุŸ ุงู„ู€
459
00:33:12,230 --> 00:33:16,310
schema ูˆ ุงู„ู€ table ุฃุตู„ุง ุนุจุงุฑุฉ ุนู† schema ุงู„ู„ูŠ
460
00:33:16,310 --> 00:33:20,070
ุนู…ู„ู†ุงู‡ุง ููŠ ุงู„ู€ create table ูˆ ุงูŠุด ูƒู…ุงู† ูˆ instance
461
00:33:20,070 --> 00:33:24,410
ุตุญ instance
462
00:33:24,410 --> 00:33:28,850
ุงูŠุด ูŠุนู†ูŠ instance ูŠุนู†ูŠ ุจุฏุฃ ุฃุฏุฎู„ ู…ุญุชูˆูŠุงุช ุฃุณู…ุน ุทู„ุงุจ
463
00:33:28,850 --> 00:33:33,470
ุฃุณู…ุน ุงู„ูƒูˆุฑุณุงุช ุจุฏุฃ ุฃุจุฏุฃ ุฃุฏุฎู„ ุงู„ู…ุนู„ูˆู…ุงุช ู‡ุฐู‡ ูƒูŠู ุจุฏุฃ
464
00:33:33,470 --> 00:33:36,590
ุฃุฏุฎู„ู‡ุง ููŠ ุงู„ู€ create table ู„ุฃ ููŠ command ุฌุฏูŠุฏ
465
00:33:36,590 --> 00:33:43,030
ู„ู†ุชุนู„ู…ู‡ ู‡ูˆ ุงูŠุด ุงู„ู€ insert ุงู„ุขู† ุนู…ู„ูŠุฉ ุงุถุงูุฉ ุงู„ู€ tuples
466
00:33:43,030 --> 00:33:46,490
ุงูˆ ุงู„ู€ rows ุจุชุชู… ู…ู† ุฎู„ุงู„ ุงู„ู€ command ุชุจุน ุงู„ู€ insert
467
00:33:46,490 --> 00:33:52,070
ู…ุซุงู„ ุงู†ุง ุนู†ุฏูŠ ู„ุงู† table ุงู†ุดุฃู†ุงู‡ ุชุจุน ุงู„ู€ students ููŠ
468
00:33:52,070 --> 00:33:56,250
ุฑู‚ู… ุงู„ุทุงู„ุจ ุงู„ู€ name ุงู„ู€ login ุงู„ู€ age ุงู„ู€ GPA ูˆู…ุฏุฎู„ูŠู†
469
00:33:56,250 --> 00:33:59,850
ููŠ ุงูŠุด ุงุญู†ุง ุชู„ุงุชุฉ records ูŠุนู†ูŠ ุงู„ู€ cardinality
470
00:33:59,850 --> 00:34:05,430
ุจุชุงุนุชู‡ ูƒุงู† ุชู„ุงุชุฉ cardinality ุชู„ุงุชุฉ ู„ุงู† ุจุถูŠู ุทุงู„ุจ
471
00:34:05,430 --> 00:34:09,430
ุฌุฏูŠุฏ ุงุฌู‰ ุทุงู„ุจ ุฌุฏูŠุฏ ูŠุณุฌู„ ุจุฏูŠ ุงุถูŠูู‡ ูƒูŠู ุจุฏูŠ ุงุถูŠูู‡ ุจุฏูŠ
472
00:34:09,430 --> 00:34:11,830
ุฃุณุชุฎุฏู… ุฌู…ู„ุฉ ุงู„ู€ insert ู‡ุงูŠ ุดูƒู„ ุฌู…ู„ุฉ ุงู„ู€ insert ุจุฏูŠ
473
00:34:11,830 --> 00:34:15,550
ุงุญูƒูŠู„ู‡ insert into students ุฌู…ู„ุฉ ุจุงู„ุงู†ุฌู„ูŠุฒูŠ pure
474
00:34:15,550 --> 00:34:19,110
ุงู†ุฌู„ูŠุฒูŠ ู…ุงู„ู‡ุงุด ุนู„ุงู‚ุฉ ุจุงู„ุจุฑู…ุฌุฉ insert into students
475
00:34:19,110 --> 00:34:25,410
ูŠุนู†ูŠ ุฏุฎู„ ุฌูˆุง table ู„ students ุงูŠุด ุจุฏูŠ ุงุฏุฎู„ุŸ SID ูˆ
476
00:34:25,410 --> 00:34:30,450
name ูˆ login ูˆ age ูˆ GPA values ุงูŠุด ู‚ูŠู…ู‡ู…ุŸ ู‚ูŠู…
477
00:34:30,450 --> 00:34:34,320
ู‡ุฏูˆู„ ุงูŠุด ุจุฏูŠ ุชูƒูˆู†ุŸ ุฎู…ุณุฉ ูˆุณุจุนูŠู† ุงู„ู ุซู„ุงุซู…ูŠุฉ ูˆุงุฑุจุนุฉ ูˆ
478
00:34:34,320 --> 00:34:41,520
ุชู…ุงู†ูŠู† ู„ู…ู† ู‡ุงูŠ ู„ู„ SID ุณุงุฆุฏ ู„ู„ name ุณุงุฆุฏ at ee ู„ู„
479
00:34:41,520 --> 00:34:47,000
login ุนุดุฑูŠู† ู„ู„ age three point six ู„ู…ู† ู„ู„ GPA ุงูŠุด
480
00:34:47,000 --> 00:34:52,120
ู‡ูŠุตูŠุฑ ุดูƒู„ ุงู„ู€ table ุงูˆ ุดูƒู„ ุงู„ู€ instance ุฒูŠ ุงู„ุดูƒู„ ุงู„ู„ูŠ
481
00:34:52,120 --> 00:34:55,720
ุชุญุช ู‡ุฒูŠุฏ ูƒู…ุงู† ุฑูˆู‡ ุชุญุช ููŠ ุฑู‚ู… ุงู„ุทุงู„ุจ ุงู„ู„ูŠ ุฏุฎู„ู†ุง
482
00:34:55,720 --> 00:35:00,300
ุฌุฏูŠุฏ ูˆุงุณู…ู‡ ูˆ ุงู„ู€ login ูˆ ุงู„ู€ edge ูˆ ุงู„ู€ GPA ุงุฐุง ู…ุง
483
00:35:00,300 --> 00:35:03,640
ุชุฐูƒุฑูŠู† ุงู„ุฌุฏูˆู„ ู‡ุฐุง ุงูŠุด ูƒุงู† ุงู„ู€ primary key ุชุจุนู‡ ุงู„ู€
484
00:35:03,640 --> 00:35:06,760
SID ุฑู‚ู… ุงู„ุทุงู„ุจ ุงู„ู€ SID ู‡ู„ ุงู„ุฑู‚ู… ุงู„ุฌุฏูŠุฏ ุงู„ู„ูŠ ุงุญู†ุง
485
00:35:06,760 --> 00:35:11,540
ุจุฏู†ุง ู†ุฏุฎู„ู‡ ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ table ุงุตู„ุง ูู…ุจุงุดุฑุฉ ู‡ูŠุฑุถู‰
486
00:35:11,540 --> 00:35:15,520
ุงู†ู‡ ุงูŠุด ูŠุถูŠูู‡ ู„ูˆ ุญุทูŠู†ุง ุงู„ุฑู‚ู… ู‡ุฐุง ุงุญุฏ ุงู„ุฃุฑู‚ุงู…
487
00:35:15,520 --> 00:35:20,150
ุงู„ู…ูˆุฌูˆุฏุฉ ู‡ู†ุง ู‡ูŠุนุทูŠู†ูŠ ุงูŠุด reject ู…ุด ู‡ูŠุฑุถู‰ ูŠุฏุฎู„ู‡ ู„ุฅู†ู‡
488
00:35:20,150 --> 00:35:24,610
primary key ูŠุนู†ูŠ unique ูŠุนู†ูŠ ู…ู…ู†ูˆุน ูŠุชูƒุฑุฑ ู„ูˆ ุงุญู†ุง
489
00:35:24,610 --> 00:35:29,270
ุฌุฏู„ุง ูƒู†ุง ุนุงู…ู„ูŠู† ุฅู†ู‡ ุงู„ู…ุนุฏู„ ุงู„ุชุฑุงูƒู…ูŠ ู…ู…ู†ูˆุน ูŠุชูƒุฑุฑ
490
00:35:29,270 --> 00:35:34,390
ูƒู†ุง ุนุงู…ู„ูŠู†ู‡ unique ูˆูŠุฌูŠู†ุง ููŠ ุฌู…ู„ุฉ ุงู„ู€ insert ู‡ุฐู‡
491
00:35:34,390 --> 00:35:41,230
ุญุทูŠู†ุง 3.4 ู‡ูŠุฑุถู‰ ูŠุฏุฎู„ู‡ุง ู…ุด ู‡ูŠุฑุถู‰ ุฌู…ู„ุฉ ุงู„ู€ insert ู‡ุฐู‡
492
00:35:41,230 --> 00:35:47,550
ู‡ูŠุนู…ู„ูŠ ุงูŠุด ุนู„ูŠู‡ุง reject ุชู…ุงู… ู‡ุฐู‡ ู…ุซุงู„ insert ุจุณูŠุท
493
00:35:47,550 --> 00:35:54,170
ุฌุฏุง ูƒู…ุงู† ู…ู…ูƒู† ููŠ ุงู„ู€ insert ู†ุฎุชุตุฑ ุงู„ุจุฑู…ุฌุฉ ูƒูŠูุŸ
494
00:35:54,170 --> 00:35:58,950
ู…ุงููŠุด ุฏุงุนูŠ ุงูƒุชุจ SID name ู„ุบู† AGBA ุทุงู„ู…ุง ุงู†ุง ุญุงุทุทู‡ู…
495
00:35:58,950 --> 00:36:03,790
ุจู†ูุณ ุชุฑุชูŠุจ ุงู„ุฌุฏูˆู„ ููŠ ุงู„ู€ create table ุงุฐุง ุงู†ุง
496
00:36:03,790 --> 00:36:08,950
ุญุงุทุทู‡ู… ุจู†ูุณ ุงู„ุชุฑุชูŠุจ ู…ู…ูƒู† ุงู„ู‚ุตูŠู† ู‡ุฏูˆู„ ู†ู„ุบูŠู‡ู…
497
00:36:08,950 --> 00:36:13,830
ูˆู†ุญูƒูŠู„ู‡ insert into students values ูˆู†ุญุท ุงู„ู€ values
498
00:36:14,530 --> 00:36:19,010
ูˆ ุจุณ ุงูŠุด ูƒู…ุงู† ู…ู…ูƒู† ูŠุตูŠุฑ ุนู†ุฏูŠ ููŠ ุงู„ู€ insert ู…ู…ูƒู†
499
00:36:19,010 --> 00:36:23,790
ู…ุฏุฎู„ู‡ู…ุด ูƒู„ ุงู„ู…ุนู„ูˆู…ุงุช ุชุชุฐูƒุฑ ุงู†ุง ุญูƒุงูŠุฉ ุงู„ู€ SID ุนุจุงุฑุฉ ุนู†
500
00:36:23,790 --> 00:36:30,130
primary key ูˆ ุงู„ู€ name ุญุทูŠู†ุง not null ู„ูƒู† ุงู„ู€ login ูˆ
501
00:36:30,130 --> 00:36:33,990
ุงู„ู€ age ูˆ ุงู„ู€ GPA ู…ุด not null ูŠุนู†ูŠ ู…ู…ูƒู† ู…ุฏุฎู„ู‡ู…ุด ูุงู†ุง
502
00:36:33,990 --> 00:36:39,130
ู…ู…ูƒู† ุฃุญูƒูŠ insert into students SID name ูˆ ุฃุณูƒุฑ ุงู„ู€
503
00:36:39,130 --> 00:36:44,590
course values ุฃุญุท ุฑู‚ู… ุงู„ุทุงู„ุจ ูˆ ุงุณู…ู‡ ูˆ ุฃุณูƒุฑ ุงู„ู€
504
00:36:44,590 --> 00:36:50,290
course ู‡ูŠุฃุฎุฏู‡ ู‡ูŠุนู…ู„ ู„ูŠ ุณุทุฑ ุฑุงุจุน ูŠุญุท ุฑู‚ู… ุงู„ุทุงู„ุจ ูˆ
505
00:36:50,290 --> 00:36:54,330
ุงุณู…ู‡ ูˆุนู†ุฏ ุงู„ู€ login ุงูŠุด ู‡ูŠุญุท null ูˆ ุนู†ุฏ ุงู„ู€ age
506
00:36:54,330 --> 00:37:00,620
null ูˆ ุนู†ุฏ ุงู„ู€ GPA null ู‡ุฐู‡ ุจูƒู„ ุจุณุงุทุฉ ูƒู„ ู…ุง ูŠุชุนู„ู‚
507
00:37:00,620 --> 00:37:07,540
ุจุงู„ู€ insert ูƒุงู… ุงู„ุณุงุนุฉุŸ ูƒุงู… ุตุงุฑุชุŸ ุงู„ุง ูƒุงู…ุŸ ุงู„ุง ุนุดุฑุฉ
508
00:37:07,540 --> 00:37:12,160
ุทูŠุจ ูƒู…ุงู† ุงู„ู€ slide ุงู„ู€ delete ุฏูŠ ูˆุงุญุฏุฉ ู†ูุณ ุงู„ู…ูˆุถูˆุน
509
00:37:12,160 --> 00:37:15,920
ุงู„ู€ delete ู†ูุณ ุงู„ู…ูˆุถูˆุน ุงู„ู€ insert ู…ุงููŠุด ููŠู‡ุง ุฃูŠ
510
00:37:15,920 --> 00:37:21,560
ุตุนูˆุจุฉ ูˆุฃุณู‡ู„ ูƒู…ุงู† ู‡ูŠ ุนู†ุฏูŠ ู†ูุณ ุงู„ุฌุฏูˆู„ ุจุฏูŠ ุงุนู…ู„
511
00:37:21,560 --> 00:37:24,720
delete ู„ูˆ ุฑูˆุญุชูŠ ุงุนู…ู„ delete ุฒูŠ ู‡ูŠูƒ delete from
512
00:37:24,720 --> 00:37:30,910
students ุจุฑูˆุญ ุจู…ุญู‰ ูƒู„ ุงู„ู€ rows ูƒู„ ุงู„ู€ instance ุจุชุงุนุฉ
513
00:37:30,910 --> 00:37:37,090
ุงู„ู€ students ูู„ุงุฒู… ููŠ ุงู„ู€ delete ุฃุญุท ุงูŠู‡ ุงู„ุดุฑุท ุฏูŠุฑูˆุง
514
00:37:37,090 --> 00:37:39,850
ุจุงู„ูƒู… ู…ุด ูˆุงุญุฏ ู‡ูˆ ุจูŠุดุชุบู„ ุนู„ู‰ project ูŠุนู…ู„ delete
515
00:37:39,850 --> 00:37:43,890
from ูˆุงุณู… ุงู„ู€ table ูˆูŠู†ุณู‰ ูŠุญุท ุงู„ุดุฑุท ุฅุฐุง ู†ุณูŠ ูŠุญุท
516
00:37:43,890 --> 00:37:47,170
ุงู„ุดุฑุท ุงูŠุด ู‡ูŠุนู…ู„ุŸ ู‡ูŠุญุฐู ูƒู„ ุงู„ุจูŠุงู†ุงุช ุงู„ู„ูŠ ุนู†ุฏู‡ ููŠ ุงู„ู€
517
00:37:47,170 --> 00:37:52,630
table ู‡ูŠุถูŠุน ุงู„ู€ table ู‡ู†ุนู…ู„ delete from students ุฅุฐุง
518
00:37:52,630 --> 00:37:55,550
ุฃู†ุง ูุนู„ุง ู…ุนู†ู‰ ูˆ ูุงู‡ู… ุฅู† ุฃู†ุง ุจุฏุฃ ุฃุญุฐู ูƒู„ ุงู„ู€ table
519
00:37:55,550 --> 00:37:59,270
ุฅุฐุง ุจุฏุฃ ุฃุญุฐู ุจุณ ุทุงู„ุจ ู…ุนูŠู† ุทุงู„ุจ ุงู„ู„ูŠ ุญูƒูŠู†ุง ุนู†ู‡ ุฅู†ู‡
520
00:37:59,270 --> 00:38:04,370
ุงู†ุณุญุจ ูˆ ุทู„ุน ุจุฏุฃ ุฃุญุฏุฏ ุฃุญูƒูŠ where ุงู„ู€ name ุชุจุนู‡ Smith
521
00:38:04,370 --> 00:38:08,610
ุทุจ ู„ูˆ ุญูƒูŠุช ู„ู‡ ุงู„ู€ name Smith ูƒู… ุทุงู„ุจ ู‡ูŠุญุฐูุŸ ู‡ูŠุญุฐู
522
00:38:08,610 --> 00:38:17,000
ุงุชู†ูŠู† ุทุจ ู„ูˆ ุนู…ู„ู†ุง where ุงู„ู€ S.SID ูˆุญุทูŠู†ุง ุงู„ุฑู‚ู… ุฎู…ุณุฉ
523
00:38:17,000 --> 00:38:21,200
ุชู„ุงุชุฉ ุณุชุฉ ุชู…ุงู†ูŠุฉ ุชู…ุงู†ูŠุฉ ู‡ูŠุญุฐู ุจุณ ูˆุงุญุฏ ุงู„ู„ูŠ ู‡ูˆ ุฑู‚ู…ู‡
524
00:38:21,200 --> 00:38:25,560
ู…ูˆุฌูˆุฏ ู„ูˆ ุญูƒูŠู†ุง ู„ูˆ ุจุฏู†ุง ู†ุญุฐู where ุงู„ู€ age ุจูŠุณุงูˆูŠ
525
00:38:25,560 --> 00:38:31,670
ุชู…ุงู†ุชุงุด ูƒู… ุทุงู„ุจ ู‡ูŠุญุฐูุŸ ู‡ุฏู ุงุชู†ูŠู† ุฌูˆู†ุฒ ูˆุณู…ูŠุซ ุตุนุจ ุงู„ู€
526
00:38:31,670 --> 00:38:34,790
delete ุจุณ ู‡ูŠ ูƒู„ ุฌู…ู„ุฉ ุงู„ู€ delete delete from ุงุณู… ุงู„ู€
527
00:38:34,790 --> 00:38:38,890
table ูˆู‡ุฐุง ู…ุชุฐูƒุฑูŠู† ุงูŠุด ุณู…ู†ุงู‡ ุงู„ูŠุงุณ ุนุดุงู† ูŠุณู‡ู„ ุนู„ูŠุง
528
00:38:38,890 --> 00:38:42,790
ุงู„ูƒุชุงุจุฉ S ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ ุงู„ูŠุงุณ ูˆุงุณู… ุงู„ู€ column ุงูˆ ุงุฐุง
529
00:38:42,790 --> 00:38:45,970
ู…ุฏูŠุด ุงุนู…ู„ ุงู„ู€ ุงู„ูŠุงุณ ู‡ูŠุฏูƒุชุจ ุงุณู… ุงู„ู€ table ูƒุงู…ู„ ุจูŠุณุงูˆูŠ
530
00:38:45,970 --> 00:38:49,130
ูƒุฐุง ุงู„ุดุฑุท ุงูˆ ุงูƒุจุฑ ู…ู† ู…ุซู„ุง ุจุฏูŠ ุงุนู…ู„ delete ู„ู„ู€ age
531
00:38:49,130 --> 00:38:53,950
ุงูƒุจุฑ ู…ู† 17 ุงุฐุง ุญูƒูŠุช age ุงูƒุจุฑ ู…ู† 17 ูƒู… ูˆุงุญุฏ ู‡ูŠุญุฏุซ
532
00:38:53,950 --> 00:38:57,790
ูƒู„ู‡ู… ูƒู„ู‡ู… ู‡ูŠุญุฏุซู‡ู… ูƒู„ู‡ู… ู„ุฅู† ูƒู„ู‡ู… ุงูƒุจุฑ ู…ู† 17 ู†ูƒููŠ
533
00:38:57,790 --> 00:38:59,710
ู‡ูŠูƒ ู†ูƒู…ู„ ุงู„ู…ุฑุฉ ุงู„ู„ูŠ ุฌุงูŠ ุงู† ุดุงุก ุงู„ู„ู‡