abdullah's picture
Add files using upload-large-folder tool
d315495 verified
raw
history blame
63.3 kB
1
00:00:20,200 --> 00:00:24,560
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ู†ูƒู…ู„ ููŠ ู†ู‡ุงูŠุฉ chapter five
2
00:00:24,560 --> 00:00:27,980
ุงู„ู…ุฑุฉ ุงู„ู…ุงุถูŠุฉ ุงุชูƒู„ู…ู†ุง ุนู† null values ุญูƒูŠู†ุง ุฃู† ุงู„
3
00:00:27,980 --> 00:00:30,920
null value ุฒูŠ ู…ุง ุฃุฎุฐู†ุง ููŠ ุจุฏุงูŠุฉ ุงู„ูุตู„ ููŠ chapter
4
00:00:30,920 --> 00:00:34,380
one ูˆููŠ chapter three ุฃู†ู‡ุง ุจู†ุณุชุฎุฏู…ู‡ุง ู„ู…ุง ูŠูƒูˆู†
5
00:00:34,380 --> 00:00:38,360
ุนู†ุฏู†ุง ู‚ูŠู…ุฉ unknown ุฃูˆ inapplicable unknown ูŠุนู†ูŠ ู…ุด
6
00:00:38,360 --> 00:00:42,200
ุนุงุฑููŠู† ุนู† ุงู„ู‚ูŠู…ุฉ inapplicable ูŠุนู†ูŠ ู…ุงู„ู‡ุงุด ุชุทุจูŠู‚
7
00:00:42,200 --> 00:00:45,280
ู…ู†ุงุณุจ ููŠ ุญุงู„ุฉ ู…ุนูŠู†ุฉ ุนู†ุฏู†ุง ูˆุฃุนุทูŠู†ุง ู…ุซุงู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„
8
00:00:45,280 --> 00:00:50,320
media name ุงุณู… ุงู„ุนุงุฆู„ุฉ ุงู„ุณุงุจู‚ ููŠ ุญุงู„ุฉ ุงู„ุฑุฌุงู„ for
9
00:00:50,320 --> 00:00:54,420
males ู…ุงู„ู‡ูˆุด ุฃูŠ ู…ุนู†ู‰ ุนู†ุฏ ู…ุซู„ุง database ุฃูˆ ูˆุฒุงุฑุฉ
10
00:00:54,420 --> 00:00:59,530
ุงู„ุฏุงุฎู„ูŠุฉ ูˆุฌูˆุฏ ุงู„ null ู‡ูŠุนู…ู„ ุนู†ุฏูŠ complication ู„ู„
11
00:00:59,530 --> 00:01:02,610
logic ุงุญู†ุง ุงู„ logic ุงู„ุนุงุฏูŠ ุงู„ู„ูŠ ุจู†ุนุฑูู‡ true or
12
00:01:02,610 --> 00:01:06,170
false ุจุณ two logic ู„ุฃู†ู‡ ู‡ูŠุตูŠุฑ ุนู†ุฏ ุงู„ logic ุงู„
13
00:01:06,170 --> 00:01:10,210
three true ูˆ false ูˆ unknown ุงู„ unknown ุฏุงุฆู…ุงู‹ ุจูƒูˆู†
14
00:01:10,210 --> 00:01:13,890
ู†ุงุชุฌ ุนู† ูˆุฌูˆุฏ null values ููŠ ุนู…ู„ูŠุฉ ุงู„ comparison ุฃูˆ
15
00:01:13,890 --> 00:01:17,920
ููŠ ุงู„ุนู…ู„ูŠุฉ ุงู„ุญุณุงุจูŠุฉ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠ ูˆุญูƒูŠู†ุง ุณุงุจู‚ุงู‹
16
00:01:17,920 --> 00:01:21,160
ููŠ chapter 3 ุฃู† ุงุญู†ุง ู„ู…ุง ูƒุงู† ุนู†ุฏู†ุง ู‚ูŠู… ู„ columns
17
00:01:21,160 --> 00:01:24,340
ู…ุง ุจุฏู†ุง ูŠุฏุฎู„ ููŠู‡ุง null ูƒู†ุง ู†ุณุชุฎุฏู… not null
18
00:01:24,340 --> 00:01:28,600
constraint not null constraint ู„ูƒู† ุฅุฐุง ู…ุง ูƒุงู†ุด
19
00:01:28,600 --> 00:01:31,720
ู…ูˆุฌูˆุฏ ูู…ุนู†ุงุชู‡ ุงู„ column ู…ู…ูƒู† ุชูƒูˆู† ููŠู‡ ู‚ูŠู… null
20
00:01:31,720 --> 00:01:35,840
values ุฃุซุฑ ุงู„ null value ุฃูˆู„ ุดูŠุก ุนู„ู‰ ุงู„ arithmetic
21
00:01:35,840 --> 00:01:39,780
operations ุงูŠุด ูŠุนู†ูŠ arithmetic operations ูŠุนู†ูŠ ุฌู…ุน
22
00:01:39,780 --> 00:01:46,090
ุทุฑุญ ุถุฑุจ ุฃูˆ ู‚ุณู…ุฉ ุนู…ู„ูŠุฉ ุฑูŠุงุถูŠุฉ ุนู…ู„ูŠุฉ ุญุณุงุจูŠุฉ
23
00:01:46,090 --> 00:01:48,570
arithmetic operations ุฃุซุฑู‡ุง ุนู„ู‰ arithmetic
24
00:01:48,570 --> 00:01:53,210
operations ุฅุฐุง ูƒุงู† ุฃุญุฏ ุงู„ operand ู‡ูˆ null ุงู„ู†ุชูŠุฌุฉ
25
00:01:53,210 --> 00:02:01,270
ุจุชูƒูˆู† null ูู„ูˆ ุฃู†ุง ุนู†ุฏูŠ null ุฒุงุฆุฏ ุนุดุฑุฉ ุงู„ู†ุชูŠุฌุฉ ูƒุงู†ุช
26
00:02:01,270 --> 00:02:11,430
ุงู„ู†ุชูŠุฌุฉ ู‡ุชูƒูˆู† null ู„ูˆ ุนู†ุฏูŠ null ุถุฑุจ null ู…ุด null
27
00:02:11,430 --> 00:02:17,400
ุชุฑุจูŠุน ุชู…ุงู…ุŸ ุงู„ู†ุชูŠุฌุฉ null ู…ุด ู‡ุชุตูŠุฑ null ุชุฑุจูŠุน ู„ูˆ ุฃู†ุง
28
00:02:17,400 --> 00:02:21,140
ุนู†ุฏูŠ null ุชู‚ุณูŠู… ุฑู‚ู… ุฃูˆ ุฑู‚ู… ุชู‚ุณูŠู… null ุงู„ุฌูˆุงุจ null
29
00:02:21,140 --> 00:02:24,020
ู‡ุฐุง ุงู„ูƒู„ุงู… ูƒู„ู‡ ู…ุฎุชุตุฑูŠู† ูˆุงุณุทุฑ ุฃู† ุงู„ arithmetic
30
00:02:24,020 --> 00:02:28,320
operations ุฅุฐุง ูƒุงู† ููŠู‡ุง ุทุฑู null ุงู„ุฌูˆุงุจ null ู†ูŠุฌูŠ
31
00:02:28,320 --> 00:02:31,480
ุจุนุฏู‡ุง ุนู„ู‰ ุงู„ comparison operators ุงูŠุด ูŠุนู†ูŠ
32
00:02:31,480 --> 00:02:35,620
comparison ู…ู‚ุงุฑู†ุฉ ุงู„ู„ูŠ ู‡ู… ู…ูŠู† ุงู„ุฃูƒุจุฑ ูˆุงู„ูŠุณุงูˆูŠ ูˆู„ุง
33
00:02:35,620 --> 00:02:40,220
ูŠุณุงูˆูŠ ูˆุงู„ุฃุตุบุฑ ู…ู† ุฃุตุบุฑ ู…ู† ุฃูˆ ูŠุณุงูˆูŠ ุฃุฏูˆุงุช ุงู„
34
00:02:40,220 --> 00:02:44,000
comparisons ู‡ุฏูˆู„ ู‡ุฏูˆู„ ุฅุฐุง ูƒุงู† ููŠ ุฃุญุฏ ุงู„ุฃุทุฑุงู null
35
00:02:44,000 --> 00:02:50,200
ุงู„ุฌูˆุงุจ ุจูŠูƒูˆู† ู„ุง true ูˆู„ุง false ุงู„ุฌูˆุงุจ unknown ุงุญู†ุง
36
00:02:50,200 --> 00:02:56,900
ู„ู…ุง ูƒู†ุง ู†ุญูƒูŠ ู…ุซู„ุงู‹ age ุฃูƒุจุฑ ู…ู† ุนุดุฑุฉ ููŠ ุดุฑุท ููŠ ุงู„
37
00:02:56,900 --> 00:03:00,960
where ุฃูˆ ููŠ ุงู„ having ููŠ ุดุฑุท ู„ู…ุง ูƒู†ุช ุฃุญุท age ุฃูƒุจุฑ
38
00:03:00,960 --> 00:03:04,780
ู…ู† ุนุดุฑุฉ ู„ูˆ ุงู„ age ุฏู‡ ูƒุงู† ุฎู…ุณุฉ ุงูŠุด ูƒุงู† ูŠุนุทูŠู†ูŠุŸ
39
00:03:04,780 --> 00:03:10,640
false ู„ูˆ ูƒุงู† ุงู„ age ุฏู‡ ุนุดุฑูŠู† true ุงู„ุขู† ู„ูˆ ูƒุงู† ุงู„
40
00:03:10,640 --> 00:03:16,820
... ุงู„ุฌูˆุงุจ unknown ู…ุด true ูˆ ู…ุด false ู…ุด ู…ุนุฑูˆู
41
00:03:18,280 --> 00:03:21,740
ุงู„ุฌูˆุงุจ unknown ู‡ุงูŠ ูŠุนู†ูŠ three value logic true ูˆ
42
00:03:21,740 --> 00:03:26,160
false ูˆ unknown ูุฃูŠ comparison operator ู…ุน null
43
00:03:26,160 --> 00:03:30,740
ู‡ุชุนุทูŠู†ูŠ unknown ุทูŠุจ ูƒู„ุงู… ู‡ุฐุง ู‡ูŠุชุฑุชุจ ุนู„ูŠู‡ ูƒู…ุงู†
44
00:03:30,740 --> 00:03:33,800
ุดุบู„ุงุช complicated ุฃูƒุซุฑ ู…ู† ู‡ู†ุง ูƒูŠู ูŠุนู†ูŠ ุฃู†ุง ุงู„
45
00:03:33,800 --> 00:03:36,440
comparisons ู‡ุงูŠ ูƒู†ุช ู…ุฑุงุช ุฃุณุชุฎุฏู…ู‡ุง ูˆุฃุฑูˆุญ ุจุนุฏู‡ุง
46
00:03:36,440 --> 00:03:45,460
ุฃุนู…ู„ and ุฃูˆ or ูˆุฃุดุจูƒู‡ุง ู…ุน ูƒู…ุงู† ู…ุน ูƒู…ุงู† ุดุฑุท ู…ุน ูƒู…ุงู†
47
00:03:45,460 --> 00:03:48,760
ุดุฑุท ุฃูˆ ุดุฑุทูŠู† ุฃูˆ ุชู„ุงุชุฉ ุญุณุจ ุฃู†ุง ุงุญุชูŠุงุฌูŠ ููŠ ุงู„ select
48
00:03:48,760 --> 00:03:54,040
statement ู„ุฃู† ุงู„ูƒู„ุงู… ู‡ุฐุง ู†ุชูŠุฌุชู‡ ุจุฏู†ุง ู†ุดูˆูู‡ุง ูƒูŠู ุฏู‡
49
00:03:54,040 --> 00:03:59,060
ุชู†ุนูƒุณ ุนู„ู‰ ุงู„ and ูˆุนู„ู‰ ุงู„ or ุงุญู†ุง ุจู†ุนุฑู ููŠ ุงู„ and
50
00:03:59,060 --> 00:04:05,780
ููŠ ุญุงู„ุฉ ุงู„ and ุฃู† true and true ุงูŠุด ู†ุชูŠุฌุชู‡ุง ุทุจ
51
00:04:05,780 --> 00:04:09,480
true ู…ุน false ูˆ false ู…ุน false
52
00:04:12,330 --> 00:04:16,110
ูุจุงุฎุชุตุงุฑ ูˆุฌูˆุฏ ุงู„ false ููŠ ุฃุญุฏ ุงู„ุฃุทุฑุงู ุจูŠุญุณู…
53
00:04:16,110 --> 00:04:20,850
ุงู„ู†ุชูŠุฌุฉ ุฃู†ู‡ุง ุฏุงุฆู…ุงู‹ ุชูƒูˆู† false ู„ุฃู† ู„ู…ุง ูŠุตูŠุฑ ุนู†ุฏูŠ ููŠ
54
00:04:20,850 --> 00:04:25,610
null ุฃูˆ unknown ู„ู…ุง ูŠูƒูˆู† ุนู†ุฏูŠ unknown ู…ุน ุงู„ true
55
00:04:25,610 --> 00:04:30,770
ุงูŠุด ุงู„ู†ุชูŠุฌุฉุŸ ู„ุง ู…ุด false ุงู„ true ู…ุน unknown ู…ุนู†ุงุชู‡
56
00:04:30,770 --> 00:04:33,190
ุงู„ุฃูˆู„ุงู†ูŠ ุงู„ true ู„ุงุฒู… ุงู„ุซุงู†ูŠ ูŠูƒูˆู† true ุนุดุงู† ูŠุนุทูŠู†ูŠ
57
00:04:33,190 --> 00:04:36,510
ุงู„ true ุทุจ ุงู„ุซุงู†ูŠ ู…ุด ุงู„ true ุฃู†ุง ู…ุด ุนุงุฑู ุงูŠุด ู‚ูŠู…ุชู‡
58
00:04:36,510 --> 00:04:42,480
ุฅุฐุง ู†ุชูŠุฌุชู‡ุง unknown ู„ูˆ ููŠ ุนู†ุฏูŠ false ู…ุน unknown ู„ุง
59
00:04:42,480 --> 00:04:46,180
ุงู„ุฃูƒูŠุฏ false ู„ุฃู† ู‡ุฐุง ุงูŠุด ู…ุง ุชูƒูˆู† ู‚ูŠู…ุชู‡ ุดุงูŠููŠู† ู„ู…ุง
60
00:04:46,180 --> 00:04:50,180
ูŠูƒูˆู† false ุณูˆุงุก ูƒุงู† true ุฃูˆ false ุงู„ู†ุชูŠุฌุฉ false
61
00:04:50,180 --> 00:04:53,700
ู…ุญุณูˆู…ุฉ ุฏุงุฆู…ุงู‹ ูู„ู…ุง ูŠูƒูˆู† ููŠ false and unknown ู‡ูŠุนุทูŠู†ูŠ
62
00:04:53,700 --> 00:04:58,440
false ููŠ ุญุงู„ุฉ ุงู„ and ุงู„ูƒู„ุงู… ู‡ุฐุง ุจู†ู„ุฎุตู‡ ุจุฃู† unknown
63
00:04:58,440 --> 00:05:02,180
ู…ุน true unknown ู„ูƒู† ู…ุน ุงู„ false ุงู„ู†ุชูŠุฌุฉ false
64
00:05:02,180 --> 00:05:06,320
unknown ู…ุน unknown ุงู„ุทุฑููŠู† ู…ุด ู…ุนุฑูˆููŠู† ู‡ูŠุนุทูŠู†ูŠ
65
00:05:06,320 --> 00:05:13,320
unknown ู†ูŠุฌูŠ ุนู„ู‰ ุงู„ or ุงู„ู€ or ุนูƒุณ ุงู„ and ุฅุฐุง ุทุฑู ู…ู†
66
00:05:13,320 --> 00:05:16,400
ุฃุทุฑุงู ุงู„ true ุนู„ู‰ ุฃูƒูŠุฏ ุงู„ true ุฏุงุฆู…ุงู‹ ุงู„ู†ุชูŠุฌุฉ true
67
00:05:16,400 --> 00:05:18,780
ุฏุงุฆู…ุงู‹ ุงู„ู†ุชูŠุฌุฉ true ู…ุง ุจูŠุนู†ูŠุด ุงู„ุทุฑู ุงู„ุซุงู†ูŠ ุงูŠุด
68
00:05:18,780 --> 00:05:22,920
ู‚ูŠู…ุชู‡ ุงู„ูƒู„ุงู… ู‡ุฐุง ุชุฑุฌู…ุชู‡ ุฃู† ุงู„ unknown ู…ุน ุงู„ true
69
00:05:22,920 --> 00:05:26,560
true ู„ุฃู† ุงู„ true ู‡ุฐู‡ ู‡ูŠ ุงู„ู„ูŠ ุญุณู…ุช ุงู„ู†ุชูŠุฌุฉ ุฃู†ู‡ ูŠูƒูˆู†
70
00:05:26,560 --> 00:05:30,080
ุงู„ุฌูˆุงุจ ุงู„ true ู„ูƒู† ู„ูˆ unknown ู…ุน false ู…ุนู†ุงุชู‡
71
00:05:30,080 --> 00:05:33,740
ุงู„ู†ุชูŠุฌุฉ ุชุนุชู…ุฏ ุนู„ู‰ ู…ูŠู†ุŸ ุนู„ู‰ ุงู„ unknown ูˆุฃู†ุง ู…ุด ุนุงุฑู
72
00:05:33,740 --> 00:05:36,640
ู‚ูŠู…ุชู‡ ูุงู„ุฌูˆุงุจ ุจูŠูƒูˆู† unknown unknown or unknown
73
00:05:36,640 --> 00:05:41,750
ุจุฑุถู‡ unknown ู‡ู†ูŠุฌูŠ ุขุฎุฑ ุดูŠุก ุนู† ุงู„ู†ู‚ุทุฉ ู„ู…ุง ูƒู†ุง ู†ุญูƒูŠ
74
00:05:41,750 --> 00:05:47,270
not true ุงูŠุด ูŠุนู†ูŠุŸ false ูˆ not false ูŠุนู†ูŠ true ุงู„
75
00:05:47,270 --> 00:05:50,250
and not unknown ุจุฑุถู‡ unknown ุฃู†ุง ู…ุด ุนุงุฑู ุงูŠุด
76
00:05:50,250 --> 00:05:53,450
ุงู„ู†ุชูŠุฌุฉ ุฃู†ุง ู…ุด ุนุงุฑู ุงูŠุด ู‡ูˆ ุนุดุงู† ู„ู…ุง and ููŠู‡ ุงูŠุด
77
00:05:53,450 --> 00:05:57,790
ุจุฏู‡ ูŠุตูŠุฑ ู not unknown ุจุฑุถู‡ ุฌูˆุงุจู‡ุง unknown ุงู„
78
00:05:57,790 --> 00:06:01,590
where ูˆ ุงู„ having ุนู†ุฏูŠ ุจู‡ู…ู‡ุง ุฃู† ู†ุชูŠุฌุฉ ุงู„ุดุฑุท ุชูƒูˆู†
79
00:06:01,590 --> 00:06:05,910
true ูŠุนู†ูŠ ุฅุฐุง ู†ุชูŠุฌุฉ ุงู„ุดุฑุท false ุงู„ row ู‡ุฐุง ุงู„ where
80
00:06:05,910 --> 00:06:10,210
ุงูŠุด ุจุชุนู…ู„ ููŠู‡ ุชุญุฐูู‡ ูˆู†ูุณ ุงู„ุดูŠุก ู„ูˆ ู†ุชูŠุฌุชู‡ unknown
81
00:06:10,210 --> 00:06:15,170
ุจุฑุถู‡ ุชุญุฐูู‡ ุงู„ where ูˆ ุงู„ having ู„ู…ุง ุจู†ุนู…ู„
82
00:06:15,170 --> 00:06:17,110
qualification ููŠ ุงู„ where ูˆููŠ ุงู„ having ุจูŠู‡ู…ู†ูŠ
83
00:06:17,110 --> 00:06:20,230
ุงู„ู†ุชูŠุฌุฉ ุชูƒูˆู† true ูŠุนู†ูŠ ู‡ุชุนุงู…ู„ ู…ุน ุงู„ unknown ุฒูŠ
84
00:06:20,230 --> 00:06:28,250
ูƒุฃู†ู‡ false ู…ุด ู‡ุงุฎุฏู‡ ุฃุญูŠุงู†ุงู‹ ุจูŠู„ุฒู…ู†ูŠ ุฃูุญุต ุงู„ null ู†ูุณู‡
85
00:06:29,020 --> 00:06:32,240
ุนุทูŠุช ู…ุซุงู„ ู„ู…ุญุงุถุฑุฉ ุงู„ุณุงุจู‚ุฉ ุฃู†ู‡ ุฃู†ุง ุนู†ุฏูŠ ุทู„ุงุจ ุงู„ู„ูŠ
86
00:06:32,240 --> 00:06:35,240
ู‡ู… ุฃุฑู‚ุงู… ุฌูˆุงู„ุงุช ููŠ ุงู„ database ุจุชุงุนุช ุงู„ุฌุงู…ุนุฉ ุจุณ ู…ุด
87
00:06:35,240 --> 00:06:39,220
ุงู„ูƒู„ ู…ุณุฌู„ ุฃุฑู‚ุงู… ูˆููŠ ู†ุงุณ ุจุฏู„ ุฃุฑู‚ุงู… ุญุงุทูŠู† null ูƒูŠู
88
00:06:39,220 --> 00:06:44,200
ุฃู†ุง ุจุฏูŠ ุฃุทู„ุน ุฃุณู…ุงุก ูˆุฃุฑู‚ุงู… ุงู„ุทู„ุงุจ ุงู„ู„ูŠ ู…ุง ู„ู‡ู… ู…ุด
89
00:06:44,200 --> 00:06:46,440
ุฃุฑู‚ุงู… ุฌูˆุงู„ุงุช ุนุดุงู† ู†ุชูˆุงุตู„ ู…ุนู‡ู… ู†ุญูƒูŠ ู„ู‡ู… ุญุฏุซูˆุง
90
00:06:46,440 --> 00:06:50,080
ุจูŠุงู†ุงุชูƒู… ูˆุฏุฎู„ูˆุง ุฃุฑู‚ุงู… ุฌูˆุงู„ุงุชูƒู… ุนู„ู‰ ู…ุนู„ูˆู…ุงุช ุงู„ุฌุงู…ุนุฉ
91
00:06:50,940 --> 00:06:54,160
ุจุฏูŠ ุฃูุญุต ุฅู† ุงู„ูƒูˆู„ูˆู… ู‡ุฐุง ู‚ูŠู…ุชู‡ is null ูˆุงู„ุนูƒุณ
92
00:06:54,160 --> 00:06:57,960
ุจุงู„ุนูƒุณ ู„ูˆ ุฃู†ุง ุจุฏูŠ ุงู„ู†ุงุณ ุงู„ู„ูŠ ุงู„ู„ูŠ ู‡ู… ุฃุฑู‚ุงู… ุจุฏุนู…ู„
93
00:06:57,960 --> 00:07:02,020
is not null ุฅุฐุง ุงู„ is null ูˆ ุงู„ is not null ู‡ุฏูˆู„
94
00:07:02,020 --> 00:07:05,700
two operators ุจู†ุณุชุฎุฏู…ู‡ู… ููŠ ุงู„ where ูˆููŠ ุงู„ having
95
00:07:05,700 --> 00:07:09,580
ู†ุณุชุฎุฏู…ู‡ู… ููŠ ุงู„ where ูˆููŠ ุงู„ having ุนุดุงู† ู†ุชุฃูƒุฏ ุฃูˆ
96
00:07:09,580 --> 00:07:14,460
ู†ูุญุต ุงู„ null value ู…ุง ุจู†ูุนุด ู†ูŠุฌูŠ ู†ูุญุต ู…ุซู„ุงู‹ ู†ุนู…ู„
97
00:07:14,460 --> 00:07:17,760
where ูŠุนู†ูŠ ู…ุงุญุฏุด ูŠูŠุฌูŠ ู…ุซู„ุงู‹ ููŠ ุงู…ุชุญุงู† ูŠูƒุชุจ ู„ูŠ where
98
00:07:18,870 --> 00:07:26,390
ู‚ูŠู…ุฉ ุงู„ูƒูˆู„ูˆู… ู…ุซู„ุงู‹ age ูŠุณุงูˆูŠ none ู‡ุฐู‡ ู…ุง ู„ู‡ุงุด ู…ุด
99
00:07:26,390 --> 00:07:30,390
ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู†ุง ููŠ ุงู„ database ู…ุง ููŠุด ุฃูŠ ู‚ูŠู…ุฉ ุจุชุณุงูˆูŠ
100
00:07:30,390 --> 00:07:34,610
none ู‡ูŠุนุทูŠู†ูŠ ุงู„ุฌูˆุงุจ ุฏุงุฆู…ุงู‹ ุฃู†ู‡ unknown ู„ุฃู† ู‡ุฐู‡
101
00:07:34,610 --> 00:07:37,510
comparison ู…ุด ู‡ูŠุณุงูˆูŠ comparison ูุงู„ comparison ู…ุน
102
00:07:37,510 --> 00:07:40,050
none ู‡ูŠุนุทูŠู†ูŠ unknown ูู…ุด ู‡ูŠุทู„ุน ูˆู„ุง ูˆุงุญุฏ ุญุชู‰ ู„ูˆ
103
00:07:40,050 --> 00:07:47,690
ู‚ูŠู…ุชู‡ none ู…ุด ู‡ูŠุทู„ุน ุงู„ุญู„ ุฃู† ุฃุนู…ู„ where ุงู„ age
104
00:07:50,240 --> 00:07:54,860
is null ู‡ูŠูƒ
105
00:07:54,860 --> 00:07:57,920
ุงู„ุดุฑุท ุจูŠุตูŠุฑ ุตุญ ุจูŠุตูŠุฑ if a null ุจูŠุนุทูŠู†ูŠ ูŠุนู†ูŠ
106
00:07:57,920 --> 00:08:03,860
ุจูŠุนุทูŠู†ูŠ ุนู„ูŠู‡ true ุฃุซุฑ
107
00:08:03,860 --> 00:08:09,080
null values ุนู„ู‰ ุงู„ aggregate functions ุจุฑุถู‡ ู„ู‡ุง
108
00:08:09,080 --> 00:08:14,320
ุฃุซุฑ ุนู„ู‰ ุงู„ aggregate functions ู„ุง ู„ุฃู† ุงุญู†ุง ู„ู…ุง
109
00:08:14,320 --> 00:08:19,280
ู†ูŠุฌูŠ ู†ุญูƒูŠ minimum ู„ู„ age ูˆุนู†ุฏูŠ ุฃุฑู‚ุงู… ููŠ ุงู„ age ูƒู„ู‡ุง
110
00:08:19,280 --> 00:08:24,260
ู…ุณุฌู„ุฉ ู‡ูŠุนุทูŠู†ูŠ ุฃู‚ู„... ุฃู‚ู„ ุฑู‚ู… ู…ุด ู‡ูˆ ุงู„ minimum ุทุจ
111
00:08:24,260 --> 00:08:27,220
ู„ูˆ ูƒุงู† ูˆุงุญุฏ ู…ู† ุงู„ุฃุนู…ุงุฑ ู‡ุฏูˆู„ ู…ุด ู…ุนุฑูˆู ูˆู…ุญุทูˆุท null
112
00:08:27,220 --> 00:08:33,280
ูˆุฃุทู„ุจ ุฃู†ุง ุงู„ minimum age ู‡ูŠุนุทูŠู†ูŠ ุฃู‚ู„ ุนู…ุฑ ู…ูˆุฌูˆุฏุŸ
113
00:08:33,280 --> 00:08:35,620
ูˆู„ุง ู‡ูŠุนุทูŠู†ูŠ ุงู„ null ูŠุนุชุจุฑ ุงู„ null ู…ุซู„ุงู‹ zero
114
00:08:35,620 --> 00:08:40,820
ูˆูŠุนุทูŠู†ูŠ ุงู„ null ู‡ูˆ ุงู„ minimumุŸ
115
00:08:40,820 --> 00:08:46,280
ู…ุด ู‡ูŠุฏุฎู„ู‡ ู…ู† ุงู„ุฃุตู„ ุนู†ุฏูŠ ุงู„ min ูˆุงู„ average ูˆุงู„
116
00:08:46,280 --> 00:08:51,220
max ูˆุงู„ sum ู‡ุฏูˆู„ ู…ุง ุจูŠุชุนุงู…ู„ูˆุง ู…ุนุงู‡ู… ุจูŠุนุชุจุฑูˆุง ุงู„
117
00:08:51,220 --> 00:08:55,580
column ุงู„ู„ูŠ ููŠู‡ ู‚ูŠู…ุฉ null ูƒุฃู†ู‡ ู…ุด ู…ูˆุฌูˆุฏ ูŠุนู†ูŠ ู„ู…ุง
118
00:08:55,580 --> 00:08:59,180
ุจุทู„ุจ average ูˆููŠ ู…ุฌู…ูˆุน ู…ู† ุงู„ุฃุนู…ุงุฑ ู…ุณุฌู„ุฉ ูˆู…ุฌู…ูˆุน
119
00:08:59,180 --> 00:09:03,720
ู…ุด ู…ุณุฌู„ุฉ ุจุฌู…ุน ุจุณ ุงู„ู…ุณุฌู„ูŠู† ูˆุจู‚ุณู… ุนู„ู‰ ุนุฏุฏู‡ู… ูˆ
120
00:09:03,720 --> 00:09:08,620
ุจุชุฌุงู‡ู„ ุงู„ null values ู†ูุณ ุงู„ุดูŠุก ููŠ ุงู„ sum ุจูŠุฌู…ุน
121
00:09:08,620 --> 00:09:12,620
ุงู„ู…ูˆุฌูˆุฏูŠู† ูˆุจุชุฌุงู‡ู„ ุงู„ null values ุงู„ minimum ุจูŠุดูˆู
122
00:09:12,620 --> 00:09:15,780
ุงู„ู…ูˆุฌูˆุฏ ูˆุจูŠุนุทูŠู†ุง ุฃู‚ู„ ูˆุงุญุฏ ู…ู† ุงู„ู…ูˆุฌูˆุฏูŠู† ุงู„ null ู…ุง
123
00:09:15,780 --> 00:09:18,980
ุจุชุทู„ุน ุนู„ูŠู‡ู… ุงู„ max ู†ูุณ ุงู„ุดูŠุก ุงู„ูˆุญูŠุฏุฉ ุงู„ aggregate
124
00:09:18,980 --> 00:09:23,220
function ุงู„ูˆุญูŠุฏุฉ ุจุชุชุนุงู…ู„ ู…ุน ุงู„ null ูˆุจุชุญุณุจู‡ ุงู„
125
00:09:23,220 --> 00:09:28,930
count ู„ูˆ ุฃู†ุง ุทู„ุจุช count ู„ุนุฏุฏ ุงู„ุฃุณุทุฑ ููŠ table ู…ุนูŠู†
126
00:09:28,930 --> 00:09:31,550
ู‡ูŠุนุทูŠู†ูŠ ุงู„ count ุญุชู‰ ู„ูˆ ุงู„ value ุงู„ู„ูŠ ููŠ ุงู„ column
127
00:09:31,550 --> 00:09:36,550
ู‚ูŠู…ุชู‡ุง null ูŠุนู†ูŠ ู„ูˆ ูƒุงู† ุนู†ุฏูŠ ู…ุซู„ุงู‹ ุงู„ age ู…ุณุฌู„ ู„ุณุชุฉ
128
00:09:36,550 --> 00:09:40,610
ู…ู† ุงู„ุทู„ุงุจ ูˆููŠ ุชู„ุงุชุฉ ู…ู† ุงู„ุทู„ุงุจ ู…ุง ููŠุด ู„ู‡ู… age null
129
00:09:40,610 --> 00:09:43,630
ูˆุฑูˆุญุช ุนู…ู„ุช count ุนู„ู‰ ุงู„ table ู‡ุฐุง ู‡ูŠุนุทูŠู†ูŠ ูƒุงู… ุงู„
130
00:09:43,630 --> 00:09:47,010
countุŸ ู‡ูŠุนุทูŠู†ูŠ ุชุณุนุฉ ุจุณ ู„ูˆ ุนู…ู„ุช minimum ุฃูˆ average
131
00:09:47,010 --> 00:09:50,770
ุฃูˆ maximum ู‡ูŠุชุนุงู…ู„ ู…ุน ู…ูŠู†ุŸ ุจุณ ู…ุน ุงู„ุณุชุฉ ุงู„ู„ูŠ ู„ู‡ู…
132
00:09:50,770 --> 00:09:54,110
values ูˆุถุญุชุŸ
133
00:09:55,750 --> 00:09:58,510
ุญุงู„ุฉ ุฎุงุตุฉ ู…ู† ุงู„ count ุจุชุชุนุงู…ู„ ู…ุน ุงู„ null ู‡ูŠ ุฅุฐุง
134
00:09:58,510 --> 00:10:03,430
ุงุณุชุฎุฏู…ุช count ู…ุน distinct ุฅุฐุง ุงุณุชุฎุฏู…ู†ุง count ู…ุน
135
00:10:03,430 --> 00:10:06,610
distinct ู„ู† ูŠุชุนุงู…ู„ ู…ุน ุงู„ null values ุณูŠุนุชุจุฑ ุงู„
136
00:10:06,610 --> 00:10:09,850
null values ูƒุฃู†ู‡ู… ุฒูŠ ุจุนุถ ูˆุฃู†ู‡ู… ุชูƒุฑุงุฑ ู„ุฅูŠุด
137
00:10:09,850 --> 00:10:14,870
ูุงุถูŠ ูˆุณูŠุญุฐูู‡ู… ุณูŠุชุนุงู…ู„ ู…ุนู‡ู… ุฒูŠ ุงู„ minimum ูˆุงู„ max
138
00:10:14,870 --> 00:10:20,230
ูˆุงู„ average ุขุฎุฑ ุดูŠุก ูƒู„ ุงู„ aggregate functions ุงู„
139
00:10:20,230 --> 00:10:23,150
max ูˆุงู„ min ูˆุงู„ average ูˆุงู„ sum ู…ุง ุนุฏุง ุงู„ count
140
00:10:24,070 --> 00:10:27,350
ุฅุฐุง ุงู„ column ูƒู„ู‡ null ูŠุนู†ูŠ ุงูุชุฑุถุช ุฃู†ุง ุงู„ age ู„ูƒู„
141
00:10:27,350 --> 00:10:31,130
ุงู„ุทู„ุงุจ ุนู†ุฏูŠ ู…ุด ู…ุณุฌู„ ูƒู„ู‡ null ุงู„ู†ุชูŠุฌุฉ ูƒุงู… ู‡ุชูƒูˆู†
142
00:10:31,130 --> 00:10:34,830
minimum ู„ู„ null null ูˆ maximum ู„ู„ null null ูˆ ุงู„
143
00:10:34,830 --> 00:10:39,590
average ู„ู„ null null ูˆ ุงู„ sum ู„ู„ null null ู„ุฃ ุจุดุฑุท
144
00:10:39,590 --> 00:10:44,410
ุฃู† ูƒู„ ุงู„ู‚ูŠุงู… nullู„ุฃู†ู‡ ู„ูˆ ููŠ ู‚ูŠู…ุฉ ูˆุงุญุฏุฉ ุฅู„ู‡ุง ู‚ูŠู…ุฉ
145
00:10:44,410 --> 00:10:47,730
ู‡ูŠุฑุฌุนู‡ุง ูƒุฅู†ู‡ุง minimum ุฃูˆ ู‡ูŠุฑุฌุนู‡ุง ุฅู†ู‡ุง maximum
146
00:10:47,730 --> 00:10:50,750
ู‡ูŠุตูŠุฑ ูŠุชุนุงู…ู„ ู…ุนู‡ุง ุฒูŠ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุญูƒูŠู†ุง ุนู†ู‡ ุฅู†ู‡
147
00:10:50,750 --> 00:10:53,310
ุนู†ุฏูŠ ุชู„ุงุชุฉ null ูˆุณุชุฉ ู…ุด null ู‡ูŠุชุนุงู…ู„ ู…ุน ุงู„ุณุชุฉ
148
00:10:53,310 --> 00:10:58,810
ู„ุญุงู„ู‡ ู„ูƒู† ู„ูˆ ูƒู„ู‡ู… ุงู„ุชุณุนุฉ ูƒู„ู‡ู… null ู†ุชูŠุฌุฉ ุงู„ min ูˆ
149
00:10:58,810 --> 00:11:02,550
ุงู„ max ูˆ ุงู„ average ู‡ุชูƒูˆู† null ูุนุดุงู† ูƒุฐุงู„ูƒ ุจุฏู†ุง
150
00:11:02,550 --> 00:11:06,930
ู†ู†ุชุจู‡ ู„ู„ null value ูˆูŠู† ููŠ ุงู„ tables ู…ู…ูƒู† ุชุบูŠุฑ
151
00:11:06,930 --> 00:11:09,650
ุงู„ู†ุชูŠุฌุฉ ุงู„ู„ูŠ ุงุญู†ุง ู…ุชูˆู‚ุนูŠู†ู‡ุง ู…ุง ุชุทู„ุน ุจุงู„ุดูƒู„ ุงู„ู„ูŠ
152
00:11:09,650 --> 00:11:11,330
ุงุญู†ุง ู…ุชุตูˆุฑูŠู†ู‡
153
00:11:15,610 --> 00:11:19,230
ุงู„ู€ Duplicate Rows ูƒู…ุงู† ู†ู„ู‚ู‰ ู„ู‡ ุฃุซุฑ ููŠ ุงู„ู€ Duplicate
154
00:11:19,230 --> 00:11:23,510
Rows ู„ู…ุง ุจู†ุญูƒูŠ ุฅู†ู‡ ููŠ ุนู†ุฏูŠ ุณุทุฑูŠู† Duplicate ููŠ
155
00:11:23,510 --> 00:11:26,570
ู†ุชูŠุฌุฉ ุงู„ู€ Select ุชุฐูƒุฑ ูƒู†ุง ู†ุนู…ู„ Select ูˆู„ู…ุง ุจุฏู†ุง
156
00:11:26,570 --> 00:11:29,530
ู†ุดูŠู„ ุงู„ู€ Duplicate ูƒู†ุง ุฅูŠุด ู†ูƒุชุจ Select Distinct
157
00:11:29,530 --> 00:11:32,770
ุนุดุงู† ู†ุดูŠู„ ุงู„ู€ Duplicate ุญูŠู† ูƒู„ู…ุฉ Duplicate ููŠ ุงู„
158
00:11:32,770 --> 00:11:37,130
SQL ุฃูˆ ููŠ ุงู„ database ู‡ูŠ ู†ุณุชุฎุฏู…ู‡ุง ู„ุฃูŠ Rows ูƒู„
159
00:11:37,130 --> 00:11:44,110
ู‚ูŠู…ู‡ู… Columns ุจุงู„ุจุนุถ ู…ุชุณุงูˆูŠุฉ ุทุจ ุฅุฐุง ููŠ ุนู†ุฏูŠ null
160
00:11:44,110 --> 00:11:49,690
ูŠุนู†ูŠ ุฃู†ุง ุนู†ุฏูŠ ู…ุซู„ุง ุงู„ .. ุงู„ name ูƒู„ู‡ู… ู„ู„ name ูˆ
161
00:11:49,690 --> 00:11:54,730
ูƒู„ู‡ู… ู„ู„ age ูˆ ูƒู„ู‡ู… ุจุฏุฃ ุงูุชุฑุถ ู…ุซู„ุง ู„ู…ุนุฏู„ ุงู„ุทุงู„ุจ GPA
162
00:11:54,730 --> 00:11:59,070
ุงูุชุฑุถุช ุฃู†ู‡ ูƒุงู† ุงู„ GPA ุฎู…ุณุฉ ูˆุนู†ุฏูŠ ูƒู…ุงู† ุณุทุฑ ุงู„ GPA
163
00:11:59,070 --> 00:12:05,110
ููŠู‡ ุฎู…ุณุฉ ูˆ ุงู„ุงุณู… ู†ูุณ ุงู„ุงุณู… ูˆ ุงู„ age ูˆุงุญุฏ ู…ู†ู‡ู… ุนู…ุฑู‡
164
00:12:05,110 --> 00:12:09,170
ุนุดุฑูŠู† ูˆ ุงู„ุซุงู†ูŠ null ู‡ุฐุง duplicate row ู„ูˆ ู…ุด
165
00:12:09,170 --> 00:12:13,280
duplicate row ุฅูŠุด ุจุฏู†ุง ู†ุนู…ู„ ููŠู‡ุŸ ุญูƒุงูŠุฉ ุงู„ database
166
00:12:13,280 --> 00:12:16,880
ุจุชุญูƒูŠู†ุง .. ุจุชุญูƒูŠู†ุง ุฅุฐุง ุงู„ null ู…ู‚ุงุจู„ู‡ุง ุฑู‚ู… ู…ุด
167
00:12:16,880 --> 00:12:20,500
duplicate ุงู„ null ุฅุฐุง ู…ู‚ุงุจู„ู‡ุง ุฑู‚ู… ู…ุด duplicate ู„ูƒู†
168
00:12:20,500 --> 00:12:26,040
ุฅุฐุง ุงู„ null ู…ู‚ุงุจู„ู‡ุง null ู‡ูŠุนุชุจุฑู‡ู… duplicate ุฎู…ุณุฉ
169
00:12:26,040 --> 00:12:30,640
ู…ุน ุฎู…ุณุฉ ุงู„ุงุณู… ู†ูุณู‡ ุงู„ age null ูˆ null ูˆ ูƒุฃู†ู‡ ุงุนุชุจุฑ
170
00:12:30,640 --> 00:12:35,700
.. ูˆ ูƒุฃู†ู‡ ุงุนุชุจุฑ ุฃู† ุงู„ null ุจุชุณุงูˆูŠ ู…ูŠู†ุŸ ุจุชุณุงูˆูŠ null
171
00:12:35,700 --> 00:12:39,990
ู…ุน ุฅู†ู‡ ุญูƒูŠู†ุง ุงุญู†ุง ููŠ ุงู„ where ููŠ ุงู„ where ู„ูˆ ุนู…ู„ู†ุง
172
00:12:39,990 --> 00:12:43,810
ุงู„ุดุฑุท ุฅู†ู‡ age ุจูŠุณุงูˆูŠ null ู…ุด ู‡ูŠุนุทูŠู†ุง ูˆู„ุง ุนู„ู‰ ูˆุงุญุฏุฉ
173
00:12:43,810 --> 00:12:46,450
ู…ู† ุงู„ู„ูŠ ู‚ูŠู…ู‡ู… null ู‡ูŠุนุทูŠู†ุง ุนู„ูŠู‡ุง true ู…ุด ู‡ูŠุนุชุจุฑ
174
00:12:46,450 --> 00:12:49,310
ุฅู†ู‡ null ุจูŠุณุงูˆูŠ null ู„ูƒู† ููŠ ุงู„ duplicate rows
175
00:12:49,310 --> 00:12:51,670
ุจูŠุนุชุจุฑู‡ู… ุงู† ู‡ูˆ ุจูŠุนุชุจุฑ ุฅู†ู‡ null ุจูŠุณุงูˆูŠ null ู‡ูŠ
176
00:12:51,670 --> 00:12:55,530
ุจูŠุนุชุจุฑู‡ุง true ุจุณ ููŠ ุญุงู„ุฉ ุงู„ duplicate rows ูˆู‡ูŠ
177
00:12:55,530 --> 00:12:58,570
ุฃุซุฑู‡ุง ุจูŠุจูŠู† ุนู„ูŠู†ุง ุนู„ู‰ ุงู„ distinct ุฅู†ู‡ ุงู„ distinct
178
00:12:58,570 --> 00:13:01,930
ู‡ุชุดูŠู„ ุงู„ุณุทุฑ ู‡ุฐุง ูˆู„ุง ู…ุด ุฑุงุญ ุชุดูŠู„ู‡
179
00:13:06,140 --> 00:13:09,700
ุจุฑุถู‡ ูˆุฌูˆุฏ ุงู„ null values ู‡ูŠุฃุซุฑ ุนู„ู‰ ุดุบู„ุฉ ุงุณู…ู‡ุง ุงู„ joins
180
00:13:09,700 --> 00:13:15,500
ุนู†ุฏูŠ ููŠ ุงู„ database ูˆู‡ุฐุง ูŠู…ูƒู† ุขุฎุฑ ุฃู‡ู… ู…ูˆุถูˆุน ู‡ู†ุดุฑุญู‡
181
00:13:15,500 --> 00:13:20,180
ููŠ ุงู„ chapter ู‡ุฐุง ุงู„ joins ุงู„ู„ูŠ ุนู†ุฏูŠ ููŠ ุงู„
182
00:13:20,180 --> 00:13:23,540
database ุฃุฑุจุน ุฃู†ูˆุงุน ุงุญู†ุง ุทูˆู„ ุงู„ูุชุฑุฉ ุงู„ู„ูŠ ุจู†ุดุฑุญ
183
00:13:23,540 --> 00:13:26,740
ููŠู‡ุง ูƒู†ุง ุจู†ุดุฑุญ ูู‚ุท ููŠ ู†ูˆุน ูˆุงุญุฏ ุงู„ู„ูŠ ู‡ูˆ ุจู†ุณู…ูŠู‡
184
00:13:26,740 --> 00:13:32,020
simple joins ุฃูˆ ุงู„ inner joins ู‡ุฐุง ุงู„ู†ูˆุน ุฅูŠุด ูŠุนู†ูŠ
185
00:13:32,020 --> 00:13:36,930
joinุŸ join ูŠุนู†ูŠ ุฃู†ู†ุง ู†ุนู…ู„ query ู…ู† multiple tables
186
00:13:36,930 --> 00:13:40,430
ู…ู† two tables ุฃูˆ ุฃูƒุชุฑ ุฅุญู†ุง ุจุชุฐูƒุฑูˆุง ุญูƒูŠู†ุง ุฅุฐุง ุงู„
187
00:13:40,430 --> 00:13:44,210
query ุงู„ select ู…ู† one table ุณู…ูŠู†ุงู‡ุง simple query
188
00:13:44,210 --> 00:13:47,070
ูˆู„ู…ุง ูƒุงู†ุช ู…ู† two tables ุฃูˆ ุฃูƒุชุฑ ุญูƒูŠู†ุง ุนู†ู‡ุง
189
00:13:47,070 --> 00:13:50,510
complex ูŠุนู†ูŠ ู‚ู„ูŠู„ ุงู„ุฑุจุท ุจูŠู† ุงู„ complex ู‡ุฐู‡ ุงู„
190
00:13:50,510 --> 00:13:53,850
complex query ู‚ู„ูŠู„ ุงู„ุฑุจุท ุจูŠู† ุงู„ tables ุงู„ู„ูŠ ูƒู†ุง
191
00:13:53,850 --> 00:13:57,650
ู†ุงุฎุฏู‡ุง ุทูˆู„ ุงู„ูุชุฑุฉ ุงู„ุณุงุจู‚ุฉ ู‚ุงู„ูŠุฉ ุงู„ุฑุงุจุท ุงุณู…ู‡ุง ุงู„
192
00:13:57,650 --> 00:14:04,190
inner join ุฃูˆ ุงู„ simple inner join ูƒู„ู‡ู… ู†ูุณ ุงู„ุงุณู…
193
00:14:04,190 --> 00:14:11,750
ููƒุฑุชู‡ุง ุจุจุณุงุทุฉ ุฃู† ุฃุฌูŠุจ column ู…ู†
194
00:14:11,750 --> 00:14:17,130
ุงู„ table ุงู„ุฃูˆู„ table one ูˆ ุฃุฎู„ูŠ ู‚ูŠู…ุชู‡ ุชูƒูˆู† ุจุชุณุงูˆูŠ
195
00:14:17,130 --> 00:14:22,510
ู‚ูŠู…ุฉ column ุซุงู†ูŠ ููŠ ุงู„ table ู…ูŠู† ุงู„ column two ููŠ
196
00:14:22,510 --> 00:14:27,330
ุงู„ table ุงู„ุฑู‚ู… ุงุซู†ูŠู† ุจุชุฐูƒุฑ ูƒู†ุง ู†ุฌูŠุจ ุงู„ SID ู…ุซู„ุง ู…ู†
197
00:14:27,330 --> 00:14:31,410
ุงู„ table ุงู„ุฃูˆู„ ูˆ ู†ุนู…ู„ chart where ุจูŠุณุงูˆูŠ ุงู„ SID ููŠ
198
00:14:31,410 --> 00:14:35,570
ุงู„ table ุงู„ุซุงู†ูŠ ุงู„ู„ูŠ ู‡ูˆ ูŠุนู†ูŠ ุฑุงุจุทู†ุง primary key ู…ุน
199
00:14:35,570 --> 00:14:38,290
foreign key ุนู…ู„ูŠุฉ ุงู„ุฑุจุท ู‡ุฐู‡ primary key ู…ุน
200
00:14:38,290 --> 00:14:41,330
foreign key ุฃู†ู‡ู… ุงู„ู‚ูŠู… ุจุชุงุนุฉ ุงู„ columns ุจุชุณุงูˆูŠ ุจุนุถ
201
00:14:42,330 --> 00:14:45,050
ุจุชุนุทูŠู†ูŠ ุงู„ inner join ู„ุฅู†ู‡ ู‡ูŠุทู„ุน ู„ูŠ ุงู„ู†ุชูŠุฌุฉ .. ุฅูŠุด
202
00:14:45,050 --> 00:14:48,430
ู‡ุชุทู„ุน ุงู„ู†ุชูŠุฌุฉ .. ู‡ูŠุทู„ุน ู„ูŠ ูู‚ุท ุงู„ rows ุงู„ู„ูŠ ุงู„ู‚ูŠู…ุชูŠู†
203
00:14:48,430 --> 00:14:52,430
ููŠู‡ู… ู…ุงู„ู‡ู… ุจุชุณุงูˆูŠ ุจุนุถ ูˆุฅุฐุง ุงู„ู‚ูŠู… ู…ุง ุจุชุณุงูˆูŠ ุจุนุถ ูƒุงู†
204
00:14:52,430 --> 00:14:55,470
ุฅูŠุด ูŠุนู…ู„ู‡ู… elimination .. ูƒุงู† ูŠุดูŠู„ู‡ู… ุชุชุฐูƒุฑ ู„ู…ุง
205
00:14:55,470 --> 00:14:58,850
ุญูƒูŠู†ุง ุนู† ุงู„ select ูƒูŠู ุจู†ุญุณุจู‡ุง .. ุญูƒูŠู†ุง ุฃูˆู„ ุฎุทูˆุฉ
206
00:14:58,850 --> 00:15:02,110
ุนุดุงู† ู†ุญุณุจ ุงู„ select ูƒู†ุง ู†ุนู…ู„ ุฅูŠุด ุงุณู…ู‡ cross product
207
00:15:02,110 --> 00:15:06,890
ุตุญ ุฃู† ุฃูƒุฑุฑ ูƒู„ ุฃุณุทุฑ ุงู„ table ุงู„ุฃูˆู„ ู…ุน ูƒู„ ุฃุณุทุฑ ุงู„
208
00:15:06,890 --> 00:15:09,770
table ุงู„ุซุงู†ูŠ ูˆุจุนุฏู‡ุง ุฃุทู„ุน ุนู„ู‰ ุงู„ where ุงู„ู„ูŠ ููŠู‡ุง
209
00:15:09,770 --> 00:15:13,490
ุงู„ุดุฑุท ุฃู† ุงู„ column ู‡ุฐุง ุจูŠุณุงูˆูŠ ู‡ุฐุง ุฅุฐุง ุจุชุณุงูˆูŠ ุฃุฎู„ูŠู‡ู…
210
00:15:13,490 --> 00:15:17,250
ูˆ ุงู„ู„ูŠ ุจุชุณุงูˆูŠุด ูƒู†ุช ุฅูŠุด ุฃุญุฐูู‡ู… ู‡ุฐู‡ ุงู„ุนู…ู„ูŠุฉ ูƒู„ู‡ุง
211
00:15:17,250 --> 00:15:21,410
inner join ุทุจ ุฅูŠุด ุงู„ left ูˆ ุงู„ right ูˆ ุงู„ full
212
00:15:21,410 --> 00:15:26,890
joins ุงู„ left join ููƒุฑุชู‡ุง ุฃู†ู‡ ูŠุจุฏุฃ ูŠุทู„ุน ุนู„ู‰ ุงู„
213
00:15:26,890 --> 00:15:30,090
table ุงู„ุฃูˆู„ ุงู„ู€ right join ุฏู‡ ุจุชุทู„ุน ุนู„ู‰ ุงู„ table
214
00:15:30,090 --> 00:15:33,910
ุงู„ุซุงู†ูŠ ุงู„ู„ูŠ ุนู„ู‰ ุงู„ูŠู…ูŠู† left ูˆ right ุฅูŠุด ู‡ูŠุตูŠุฑ ููŠ
215
00:15:33,910 --> 00:15:38,550
ุงู„ left join ู‡ุฌูŠุจ ูƒู„ ุงู„ rows ููŠ T1 ููŠ ุงู„ table
216
00:15:38,550 --> 00:15:44,550
ุงู„ุฃูˆู„ all rows ู‡ุงุฎุฏู‡ู… ุจุบุถ ุงู„ู†ุธุฑ ุงู„ู‚ูŠู…ุฉ ุชุญุช ุงู„
217
00:15:44,550 --> 00:15:46,850
column ููŠ ุงู„ table ุงู„ุฃูˆู„ ุจุชุณุงูˆูŠ ุงู„ุซุงู†ูŠ ุฃูˆ ู…ุง
218
00:15:46,850 --> 00:15:51,530
ุจุชุณุงูˆูŠ ู‡ุงุฎุฏู‡ู… ูˆ ุฃุทู„ุนู‡ู… ุงู„ table ุงู„ุซุงู†ูŠ ู‡ูˆ ูู‚ุท ุงู„ู„ูŠ
219
00:15:51,530 --> 00:15:55,050
ู‡ุดุชุฑุทู‡ ุชูƒูˆู† ู‚ูŠู…ุฉ ุงู„ูƒู„ูˆู… ุจุชุณุงูˆูŠ ู‚ูŠู…ุฉ ุงู„ูƒู„ูˆู…
220
00:15:55,050 --> 00:16:00,010
ุงู„ุซุงู†ูŠ ุฃุฑูˆุญ ุฃุทู„ุน ู‚ูŠู…ุชู‡ ุทุจ ูˆุฅุฐุง ู…ุง ุจุชุณุงูˆูŠุด ุจุญุท ู…ู‚ุงุจู„
221
00:16:00,010 --> 00:16:03,490
ุงู„ row ุงู„ู„ูŠ ููŠ ุงู„ T1 ุงู„ู„ูŠ ู…ุง ููŠุด ู…ู‚ุงุจู„ู‡ ู…ู‚ุงุจู„ ุจุญุท
222
00:16:03,490 --> 00:16:10,610
ู…ู‚ุงุจู„ู‡ ู…ู‚ุงุจู„ู‡ null ุนุดุงู† ู†ุจุณุท ุงู„ููƒุฑุฉ ู‡ู†ุทู„ุน ุงู„ุฌุฏุงูˆู„
223
00:16:10,610 --> 00:16:14,390
ุงู„ู„ูŠ ุนู†ุฏู†ุง ุชุญุช ุงู„ sellers ูˆ ุงู„ reserves ู„ูˆ ุทู„ุนู†ุง
224
00:16:14,390 --> 00:16:16,530
ุนู„ู‰ ุงู„ sailors ูƒู… sailors ุนู†ุฏู†ุง ููŠ ุงู„ุฌุฏูˆู„ ู…ุซุงู„
225
00:16:16,530 --> 00:16:21,450
example ุงู„ู„ูŠ ุฃุฎุฏู†ุงู‡ุงุŸ ุนุดุฑุฉ ู‡ู„ ูƒู„ู‡ู… ุญุฌุฒูˆุง ู‚ูˆุงุฑุจ ููŠ
226
00:16:21,450 --> 00:16:24,950
table of reservesุŸ ุฑุงุญูˆุง ุญุฌุฒูˆุง ู‚ูˆุงุฑุจ ุฃูˆ ู…ุฑุงูƒุจุŸ ู…ุด
227
00:16:24,950 --> 00:16:28,890
ูƒู„ู‡ู… ุทุจ ุงุญู†ุง ู„ูˆ ุนู…ู„ู†ุง select ุฅู†ู‡ ู†ุทู„ุน ู…ุนู„ูˆู…ุงุช
228
00:16:28,890 --> 00:16:31,870
ุงู„ุจุญุงุฑ ู…ุนู„ูˆู…ุงุช ุงู„ู‚ูˆุงุฑุจ ุงู„ู„ูŠ ุญุฌุฒู‡ุง ู…ู† table of
229
00:16:31,870 --> 00:16:34,690
reserves ุจุญูŠุซ ุฅู† ุฑู‚ู… ุงู„ุจุญุงุฑ ููŠ ุฌุฏูˆู„ ุงู„ุจุญุงุฑุฉ ู‡ูˆ
230
00:16:34,690 --> 00:16:39,770
ู†ูุณู‡ ุฑู‚ู…ู‡ ููŠ ุงู„ุญุฌุฒุงุช ู‡ูŠุทู„ุน ู…ุนุงู†ุง ุจุณ ุจุณ ุงู„ู„ูŠ ุญุฌุฒูŠู†
231
00:16:39,770 --> 00:16:43,970
ูˆ ุงู„ู„ูŠ ู…ุด ุญุฌุฒูŠู† ู…ุด ู‡ูŠุทู„ุน ู‡ุฐู‡ ุงู„ inner join ุงู„ุนุงุฏูŠุฉ
232
00:16:43,970 --> 00:16:48,170
ุงู„ู„ูŠ ูƒู†ุง ู†ุนู…ู„ู‡ุง ุทุจ ู„ูˆ ุฃู†ุง ุจุฏูŠ .. ู„ูˆ ุฃู†ุง ุทู„ุจุช ุจุฏูŠ
233
00:16:48,170 --> 00:16:52,190
ูƒู„ ุฃุณู…ุงุก ุงู„ุจุญุงุฑุฉ ูˆุงู„ู„ูŠ ุฅู„ู‡ ุญุฌุฒ ูŠุจูŠู† ุงู„ุญุฌุฒ ุชุจุนู‡
234
00:16:52,190 --> 00:16:55,990
ู…ูˆุนุฏู‡ ู…ุซู„ุง ูˆุงู„ู„ูŠ ู…ุงู„ู‡ูˆุด ุญุฌุฒ ูŠู†ุญุท ูŠุจู‚ู‰ ู„ู‡ ุฅู†ู‡ ูุงุถูŠ
235
00:16:55,990 --> 00:16:59,950
ุจุณ ุจุฏูŠ ุงุณู…ู‡ ุจุฏูŠ ุฃุดูˆู ุงุณู…ู‡ ุฅู†ู‡ ูุงุถูŠ ู‡ุฐุง ูƒูŠู ุจู†ุนู…ู„ู‡
236
00:16:59,950 --> 00:17:06,050
ุจุงู„ left outer join ุนุดุงู† ู†ุดุฑุญ ุจุงู„ุชูุงุตูŠู„ ุจู†ุดูˆู ู…ุซุงู„
237
00:17:06,050 --> 00:17:11,950
ุนุดุงู† ู†ูู‡ู… ุงู„ุตูˆุฑุฉ ู…ุธุจูˆุท ู‡ูุชุญ
238
00:17:11,950 --> 00:17:25,250
ุนู†ุฏูŠ ุงู„ Oracle ุงู„ุขู†
239
00:17:25,250 --> 00:17:32,720
ู„ูˆ ุฃู†ุง ุนู…ู„ุช select star from sailors ูƒู… ุณูŠู„ุฑ ุงู„ู„ูŠ
240
00:17:32,720 --> 00:17:36,460
ู‡ูŠุทู„ุน ุนู†ุฏูŠุŸ ุนุดุฑุฉ ููŠ ูˆุงุญุฏ ุฃู†ุง ุถูุชู‡ ุงู„ู…ุฑุฉ ุงู„ู„ูŠ ูุงุชุช
241
00:17:36,460 --> 00:17:40,240
ู…ู† ุงู„ุฐุงูƒุฑูŠู† ู‡ูˆ ุฅูŠุด ุงุณู…ู‡ ูƒุงู† fraud ุฑู‚ู…ู‡ 96 ูู‡ูŠ ุนู†ุฏูŠ
242
00:17:40,240 --> 00:17:44,440
11 rows selected select start from sailors ู‡ุฏูˆู„
243
00:17:44,440 --> 00:17:48,020
ูƒู„ู‡ู… ุญุฌุฒูŠู† ู„ุฃ ู…ุด ูƒู„ู‡ู… ูŠุนู†ูŠ ู‡ุชุทู„ุน ู‡ุชู„ุงู‚ูŠ ุฑู‚ู… 96
244
00:17:48,020 --> 00:17:54,360
ู…ุซู„ุง ุฑู‚ู… 29 ู…ู…ูƒู† ุฑู‚ู… 71 ู…ุด ู…ุชุฃูƒุฏ 85 95 ู‡ุฏูˆู„ ู…ุด
245
00:17:54,360 --> 00:17:57,700
ุญุฌุฒูŠู† ู…ุงู„ู‡ู… ู…ุด ุญุฌุฒูŠู† ูุงุญู†ุง ู„ูˆ ุฑูˆุญู†ุง ุนู…ู„ู†ุง select
246
00:17:59,100 --> 00:18:06,360
ุงู„ู€ S dot S name ุงุณู… ุงู„ุณูŠู„ุฑ ูˆูƒู…ุงู† ุงู„ S dot S ID
247
00:18:06,360 --> 00:18:12,300
ุฑู‚ู…ู‡ ูˆ ุงู„ู…ุฑูƒุจ ุงู„ู„ูŠ ู‡ูˆ ุญุงุฌุฒู‡ ู…ู† ุชุงุจู„ ุงู„ุญุฌุฒุงุช ุงู„ BID
248
00:18:12,300 --> 00:18:17,360
ู…ู† ุชุงุจู„ ุงู„ุญุฌุฒุงุช from ูƒู†ุง ู†ูƒุชุจ ุงุญู†ุง ุฅูŠุด sailors ู…ุด
249
00:18:17,360 --> 00:18:21,160
ู‡ูŠ ูƒู†ุง ู†ูƒุชุจ ุฃูˆู„ S reserves are
250
00:18:29,340 --> 00:18:34,520
ูˆูƒู†ุง ู†ุญุท ุงู„ุดุฑุท ุงู„ู„ูŠ ู‡ูˆ where ุฅูŠุด ุงู„ S.SID ุงู„
251
00:18:34,520 --> 00:18:38,980
primary key ุชุจุน ุงู„ sailors ุจูŠุณุงูˆูŠ ุงู„ R.SID ุงู„ู„ูŠ ู‡ูˆ
252
00:18:38,980 --> 00:18:42,700
ุนุจุงุฑุฉ ุนู† foreign key ููŠ ุฌุฏูˆู„ ุงู„ reserves ู‡ูŠุทู„ุนูˆุง
253
00:18:42,700 --> 00:18:46,200
ู…ุนุงู†ุง ุจุณ ุงู„ู„ูŠ ุงู„ู„ูŠ ู„ู‡ู… ุญุฌุฒุงุช ุงู„ู„ูŠ ุฑู‚ู…ู‡ ู…ูˆุฌูˆุฏ ููŠ
254
00:18:46,200 --> 00:18:52,100
ุงู„ sailors ูˆุฑู‚ู…ู‡ ู…ูˆุฌูˆุฏ ุจุฑุถู‡ ููŠ ุงู„ reserves ุดุงูŠููŠู†
255
00:18:52,100 --> 00:18:56,500
ุฅูŠุด ุทู„ุน ู…ุนุงูŠุง ุทู„ุน ู…ุนุงูŠุง Dustin ุฃุฑุจุน ู…ุฑุงุช ูˆ ุฑู‚ู…ู‡ 22
256
00:18:56,500 --> 00:19:00,860
ู„ูŠุด ุฃุฑุจุน ู…ุฑุงุช ู„ุฃู†ู‡ ุญุงุฌุฒ 101 ูˆ 102 ูˆ 103 ูˆ 104 ู‡ุฏูˆู„
257
00:19:00,860 --> 00:19:04,440
ุงู„ู…ุฑุงูƒุจ ุงู„ู„ูŠ ุญุงุฌุฒู‡ู… ู„ูˆุจุงุฑุฏ ุทู„ุน ุซู„ุงุซ ู…ุฑุงุช ู„ุฃู†ู‡ ุญุงุฌุฒ ุซู„ุงุซ
258
00:19:04,440 --> 00:19:09,460
ู…ุฑุงูƒุจ ู‡ูˆุฑุงุดูŠูˆ ุงู„ู„ูŠ ุฑู‚ู…ู‡ 64 ุญุงุฌุฒ ู…ุฑุชูŠู† 101 ูˆ 102
259
00:19:09,460 --> 00:19:14,660
ู‡ูˆุฑุงุดูŠูˆ ุงู„ุซุงู†ูŠ ุงู„ู„ูŠ ุฑู‚ู…ู‡ 74 ุญุงุฌุฒ ุงู„ู…ุฑูƒุจ ุฑู‚ู… 103
260
00:19:14,660 --> 00:19:19,660
ุทุจ ุงู„ู„ูŠ ู…ุด ุญุงุฌุฒูŠู† ู…ุง ุทู„ุนูˆุด ุทุจ ูƒูŠู ุฃู†ุง ู…ู…ูƒู† ุงุทู„ุน ู†ูุณ
261
00:19:19,660 --> 00:19:26,100
ุดูƒู„ ุงู„ table ู‡ุฐุง ุจุฏูŠ ุฃู†ุง ุงู„ุทู„ุงุจู‡ ู…ุนู„ูˆู…ุงุชู‡ู… ููŠ ุงู„ู†ุตููŠ ูˆ
262
00:19:26,100 --> 00:19:29,800
ุจุฏูŠ ุฃุทู„ุน ูƒู…ุงู† ุงู„ุทู„ุงุจ ุงู„ู„ูŠ ู…ุง ุฃุฏุงูˆู…ุด ุงู„ู†ุตููŠ ุงู„ู„ูŠ ู…ุง
263
00:19:29,800 --> 00:19:33,100
ุฃุฏุงูˆู…ุด ุงู„ู†ุตููŠ ู…ุด ุตูุฑ null ู‡ูˆ ู…ุง ุฏุฎู„ุด ุงู„ุงู…ุชุญุงู† ุฃุตู„ุง
264
00:19:33,100 --> 00:19:36,220
ูุฃู†ุง ุจุฏูŠ ุฒูŠ ู‡ูŠูƒ ู…ุซู„ุง ุงูƒูˆูŠุฑูŠ ุฒูŠ ู‡ูŠ ุทู„ุน ู„ูŠ ุฃุณู…ุงุก
265
00:19:36,220 --> 00:19:39,660
ุงู„ุทู„ุงุจ ุฅุฐุง ู‡ูˆ ุนุงู…ู„ ุงู…ุชุญุงู† ู†ุตููŠ ุฃูˆ ู†ู‡ุงุฆูŠ ุนู„ุงู…ุชู‡ ู…ุด
266
00:19:39,660 --> 00:19:43,160
ุนุงู…ู„ ุจุฏูŠ ุขุฎุฐ ูุฑุงุบ ู…ุญู„ู‡ุง ุฃูˆ null ูู‡ุฐู‡ ุจุฏู‡ุง left
267
00:19:43,160 --> 00:19:48,840
outer join ูƒูŠู ุจุฏูŠ ุฃูƒุชุจู‡ุงุŸ ู„ุฃ ู„ุฃ ุจุณูŠุทุฉ ุฌุฏุง ููŠ ุงู„
268
00:19:48,840 --> 00:19:51,740
left outer join ู‡ุชุทู„ุน ุฑุฃูŠ ุจุณูŠุท ุฌุฏุง ู‡ูŠ ู‡ุฃุนู…ู„ select
269
00:19:51,740 --> 00:19:55,300
ู†ูุณ ุงู„ select ุงู„ุณุงุจู‚ ู…ุง ููŠุด ุฏุงุนูŠ ุฃุฑุฏุฏูƒ ุชุจุญุซ ุฃุนุฏูŠู‡ุง
270
00:19:55,300 --> 00:20:04,220
ูƒู…ุงู† ู…ุฑุฉ ุงู„ู…ุฑุฉ ู‡ุฃุญูƒูŠ ุจ from sailors ุงู„ู„ูŠ ู‡ู… S ุจุณ
271
00:20:04,220 --> 00:20:10,640
ุฅูŠุด ุจุชุนู…ู„ ููŠ ุงู„ sailors ุจุชุนู…ู„ู‡ุง left outer join
272
00:20:13,700 --> 00:20:18,960
sailors ุบู„ุท ุตุญูŠุญ
273
00:20:18,960 --> 00:20:23,280
from
274
00:20:23,280 --> 00:20:29,780
sailors
275
00:20:29,780 --> 00:20:33,800
s left
276
00:20:33,800 --> 00:20:41,980
outer join ู„ุฃูŠ table sailors ุนู„ู‰ ุงู„ุดู…ุงู„ ุจู†ุญูƒูŠ ู„ู‡
277
00:20:41,980 --> 00:20:44,840
ู‡ุฐุง lift outer join ู…ุน ุงู„ table ุงู„ูŠู…ูŠู† ุงู„ู„ูŠ ู‡ูˆ
278
00:20:44,840 --> 00:20:53,200
table ู…ูŠู† ุงู„ reserves ู…ูƒุชูˆุจุฉ ุตุญ ุงู„ reserves are ุงู„ุขู†
279
00:20:53,200 --> 00:21:00,060
ุงู„ุดุฑุท on ุงู„ุดุฑุท ุงู„ู„ูŠ ุจุฑุจุท ุจูŠู† ุงู„ two tables ุจูŠุจุทู„
280
00:21:00,060 --> 00:21:03,140
ุงุณู…ู‡ where ููŠ where ุทุจุนุง ุจุณ ุงู„ where ู„ุง ุฅูŠุด ุซุงู†ูŠ ุฃู…ุง
281
00:21:03,140 --> 00:21:05,980
ุงู„ุฑุงุจุท ุจูŠู† ุงู„ุฌุฏุงูˆู„ ุจูŠุจุทู„ ุนู† ุทุฑูŠู‚ ุงู„ where ุตุงุฑ ู…ู†
282
00:21:05,980 --> 00:21:09,880
ุฎู„ุงู„ ุงู„ on ู‡ุฐู‡ on ู…ูŠู† ุงู„ู„ูŠ ุจุฏูŠู‡ู… ูŠุชุณุงูˆูˆุง ู…ุน ุจุนุถ ุงู„
283
00:21:09,880 --> 00:21:17,650
S.SID ูŠุณุงูˆูŠ ุงู„ R.SID ู‡ุถุบุท ุงู†ุช ุทู„ุน ุฌุงุจ ู„ูŠ ุฃูˆู„ ูˆุงุญุฏ
284
00:21:17,650 --> 00:21:24,370
Frodo ูˆุฑู‚ู…ู‡ 96 ู„ูƒู† ู…ุด ุญุงุฌุฒ ู…ุงู„ูˆุด ู…ุฑูƒุจ null ูุงุถูŠ ุจุณ
285
00:21:24,370 --> 00:21:29,270
ุทุงู„ู…ุง ุงู†ู‡ ู…ูˆุฌูˆุฏ ููŠ ุฌุฏูˆู„ ุงู„ sailors ู„ุงุฒู… ูŠุทู„ุน ุงุณู…ู‡
286
00:21:29,270 --> 00:21:33,610
Dustin ู…ูˆุฌูˆุฏ ุฃุฑุจุน ู…ุฑุงุช ู„ุฃุฑุจุน ุญุฌุฒุงุช Protoss ู…ุงู„ูˆุด
287
00:21:33,610 --> 00:21:37,910
ูˆู„ุง ุญุงุฌุฒ ุฌุงุจ ุงุณู…ู‡ ุฌุงุจ ุฑู‚ู…ู‡ ู„ูƒู† null ุงู„ุญุงุฌุฒ ุชุจุนู‡
288
00:21:37,910 --> 00:21:43,930
null ู„ูˆ ุจุงุฑ ุชู„ุงุช ุญุฌุฒุงุช and ุฏุฑุงุณุชูŠ ู…ุงู„ู‡ู…ุด ู‡ุฑุงุดูˆุง ู„ู‡
289
00:21:43,930 --> 00:21:49,430
ุญุฌุฒูŠู† ุฒูˆุฑุจู‡ null ูˆุณุท ุงูŠุด ูŠุนู†ูŠ ููƒุฑุฉ left outer
290
00:21:49,430 --> 00:21:53,250
joint ุงู†ุง ู‡ุงุฎุฏ ุงู„ rows ุงู„ู„ูŠ ููŠ ุงู„ left ูƒุงู…ู„ุง ููŠ
291
00:21:53,250 --> 00:21:58,020
table one ู‡ุงุฎุฏ ูƒู„ ุงู„ rows ุฃูˆ ุงู„ rows ุจุบุถ ุงู„ู†ุธุฑ ุนู†
292
00:21:58,020 --> 00:22:01,840
ุงู„ุดุฑุท ุจุณ ุงู„ table ุงู„ุชุงู†ูŠ ุจุชุทู„ุน ุงู„ุดุฑุท ุนู„ู‰ ุงู„
293
00:22:01,840 --> 00:22:05,140
condition ุงู„ู„ูŠ ู‡ูˆ ุงู„ SID ุจูŠุณุงูˆูŠ ุงู„ SID ุฅุฐุง ุงู„ุดุฑุท
294
00:22:05,140 --> 00:22:09,740
ู…ุชุญู‚ู‚ ุจุทู„ุน ุงู„ู‚ูŠู…ุฉ ู…ุชุญู‚ู‚ุด ุจุญุท ุจุฏุงู„ู‡ุง ุฅูŠุด ุงู„ right
295
00:22:09,740 --> 00:22:12,840
outer join ู†ูุณ ุงู„ููƒุฑุฉ ุจุณ ุงู„ุนูƒุณ ููŠ ุงู„ right outer
296
00:22:12,840 --> 00:22:17,720
join ู‡ุฌูŠุจ ูƒู„ ุงู„ rows ุชุนูˆู†ูŠ ุงู„ T2 ูˆ ู‡ู†ุงูƒ ุญู„ ุชุฒู… ููŠ
297
00:22:17,720 --> 00:22:24,630
ุงู„ุดุฑุท ุงู„ full ุงู„ full ู‡ุนู…ู„ ุฒูŠ ุงู„ left ูˆ ุฃุฑูˆุญ ุฃูƒู…ู„
298
00:22:24,630 --> 00:22:29,110
ุนู„ูŠู‡ู… ุชูƒู…ูŠู„ ุงู„ู„ูŠ ู…ุง ุทู„ุนูˆุด ู…ู† ุงู„ T2 ุฃุญุทู‡ู… ูˆ ุฃุญุท
299
00:22:29,110 --> 00:22:33,590
ู…ู‚ุงุจู„ู‡ู… ูุงุถูŠ ู†ู„ ูŠุนู†ูŠ ุฒูŠ ูƒุงู†ู‡ุง left ู…ุน right ุงู„
300
00:22:33,590 --> 00:22:38,630
full outer join left ู…ุน right ุชู†ุชู… ู…ุน ุจุนุถ ุงู„ left
301
00:22:38,630 --> 00:22:44,410
ูˆ ุงู„ right ู…ุน ุจุนุถ ู†ุนู… ู„ุด ุทู„ุนู‡ู… ุฌุฏูˆู„ูŠู†ุŸ ุฃู‡ ู„ุด ุทู„ุนู‡ู…
302
00:22:44,410 --> 00:22:47,090
ุฌุฏูˆู„ูŠู† ู„ุฃู† ุงู„ Oracle ููŠู‡ุง ุชุฑุชูŠุจ ุฃู† ุนุงู…ู„ ููŠู‡ุง ุชุฑุชูŠุจ
303
00:22:47,090 --> 00:22:50,530
ุฃูˆ he by default ููŠู‡ุง ุชุฑุชูŠุจ ุฃู†ู‡ ูƒู„ ุนุดุฑ ุฃุณุทุฑ ูŠุฑุฏ
304
00:22:50,530 --> 00:22:55,290
ูŠุนูŠุฏ ูŠุนูŠุฏ ุงุณู… ุงู„ column ุนุดุงู† ู…ุซู„ุง ู„ูˆ ุงุณุชุนุฑุถุช ุฃู„ู
305
00:22:55,290 --> 00:23:01,290
ุทุงู„ุจ ู…ุซู„ุง ู‡ู†ุณ ุฃู†ู‡ ู‡ุฐูŠ ุฑู‚ู… ุงู„ู…ุฑูƒุจ ูˆู„ุง ุฑู‚ู… ุงู„ุทุงู„ุจ
306
00:23:01,290 --> 00:23:04,630
ูˆู„ุง ุฑู‚ู… ุฅูŠุด ูุจุฏูŠ ุฃุฑุฏ ุฃุฑุฌุน ุฃุทู„ุน ููˆู‚ ู„ุขุฎุฑ ุฒูŠ ู…ุง ู„ู
307
00:23:04,630 --> 00:23:07,470
ุงู„ Excel ุฃุดูˆู ุฅูŠุด ุงุณู… ุงู„ column ูู‡ูˆ ูƒู„ ุนุดุฑ ุฃุณุทุฑ
308
00:23:07,470 --> 00:23:11,290
ุจูƒุฑุฑ ุฃุณู…ุงุก ุงู„ columns ุทุจุนุง ู…ู…ูƒู† ู†ุบูŠุฑ ุงู„ default
309
00:23:11,290 --> 00:23:15,130
ู‡ุฐุง ู†ุนู…ู„ู‡ ูƒู„ ุนุดุฑูŠู† ูƒู„ ู…ูŠุฉ ุจุณ ู‡ูˆ by default ูƒู„ ุนุดุฑุฉ
310
00:23:15,130 --> 00:23:15,810
ุฃูˆ ุฅุดูŠ ุฒูŠ
311
00:23:20,130 --> 00:23:26,650
ู†ุฑุฌุน ู„ู„ slides ุงู„ู„ูŠ ุนู†ุฏู†ุง ุงุฐุง ุงุญู†ุง ุงู„ simple join
312
00:23:26,650 --> 00:23:30,230
ุฃูˆ ุงู„ inner join ู‡ุฐู‡ ุงู„ join ู…ุงู„ู‡ุง ู‡ุฐู‡ ุงู„ู„ูŠ ุงุญู†ุง
313
00:23:30,230 --> 00:23:35,070
ุงุชุนูˆุฏู†ุง ู†ุงุฎุฏู‡ุง ู‡ุฐู‡ ุงู„ู„ูŠ ุงุญู†ุง ุทูˆู„ ุงู„ูุตู„ ู†ุชุนุงู…ู„ ู…ุนู‡ุง
314
00:23:35,070 --> 00:23:39,470
ุงุณู…ู‡ุง ุงู„ inner join ูˆู‡ูŠ ู„ุงุฒู… ูŠูƒูˆู† ููŠ matching ุจูŠู†
315
00:23:39,470 --> 00:23:44,630
ุงู„ two tables ุงู„ุดุฑุท ูŠุชุญู‚ู‚ ููŠ ุงู„ two tables ุชุจุฏุฃ
316
00:23:44,630 --> 00:23:48,670
ู…ุดูƒู„ุชู†ุง ุงู† ู†ุดูˆู ุงู„ null values ู„ู„ุงุดูŠ ุงู„ู„ูŠ ู…ุงููŠุด
317
00:23:48,670 --> 00:23:51,870
ููŠู‡ matching ู…ุงููŠุด ููŠู‡ ุชุทุงุจู‚ ู…ุน ุงู„ left ูˆ ุงู„ right
318
00:23:51,870 --> 00:23:55,250
ูˆ ุงู„ full ูู‡ูŠู†ูŠ ุงู†ุง ุงูƒุชุจู„ูƒู… ู…ู„ุงุญุธุฉ ุงู† ุงู„ all
319
00:23:55,250 --> 00:23:58,310
examples ุงู„ู„ูŠ ุงุญู†ุง ุฃุฎุฏู†ุงู‡ุง until ู†ุง ูˆ ุญุชู‰ ุงู„ู„ุญุธุฉ
320
00:23:58,310 --> 00:24:03,430
ูƒู„ู‡ุง ุนุจุงุฑุฉ ุนู† ู…ูŠู† simple ุงูˆ ุงู„ inner ุงู„ inner join
321
00:24:03,430 --> 00:24:07,310
ู†ุจุฏุฃ ููŠ ุงู„ inner join ุงู„ู„ูŠ ู‡ูŠ ุฃุณู‡ู„ ูˆุงุญุฏุฉ ุงู„ู„ูŠ ุทูˆู„
322
00:24:07,310 --> 00:24:12,040
ุงู„ูˆู‚ุช ุงุญู†ุง ุจุฏู†ุง ู†ุชุนุงู…ู„ ู…ุนุงู‡ุง ุงู„ inner join ู‡ูŠ ุงู„
323
00:24:12,040 --> 00:24:14,560
most common type of joins ู…ุนุธู… ุงู„ queries ุงู„ู„ูŠ
324
00:24:14,560 --> 00:24:18,920
ู‡ุชู„ุฒู…ูƒู… ููŠ ุงู„ุญูŠุงุฉ ุงู„ุนู…ู„ูŠุฉ ู‡ูŠ ุงุตู„ุง ู…ู† ู†ูˆุน ุงู„ inner
325
00:24:18,920 --> 00:24:22,860
join 90 ุงูˆ ุงูƒุชุฑ ู…ู† 90% ู…ู† ุงู„ queries ุงู„ู„ูŠ ุจุชู„ุฒู…
326
00:24:22,860 --> 00:24:27,120
ูุนู„ูŠุง inner joins ุงู„ inner join ู‡ุชุฑุฌุนู„ูŠ ูƒู„ ุงู„ rows
327
00:24:27,120 --> 00:24:31,240
ู…ู† multiple tables ุจุณ ุจุดุฑุท ุงูŠุด ุงู„ condition is met
328
00:24:31,240 --> 00:24:34,180
ุงู„ condition ูŠูƒูˆู† true ููŠ ุงู„ุฌู‡ุชูŠู† ููŠ ุงู„ two tables
329
00:24:35,530 --> 00:24:39,310
ุงู„ู€ syntax ุชุจุนู‡ุง ูƒูŠู ู†ูƒุชุจู‡ุง select ุฃุณู…ุงุก ุงู„
330
00:24:39,310 --> 00:24:43,850
columns ุงู„ู„ูŠ ุจุฏู†ุง ุฅูŠุงู‡ุง from table 1 ู„ุงุญุธูˆุง ุงู„ุตูŠุบุฉ
331
00:24:43,850 --> 00:24:48,950
ุงู„ุขู† ุงุฎุชู„ูุช ุจุทู„ู†ุง ู†ุณุชุฎุฏู… where inner join table 2
332
00:24:48,950 --> 00:24:53,310
on ุงู„ column ู‡ุฐุง ุจูŠุณุงูˆูŠ ุงู„ column ุงู„ุชุงู†ูŠ ูƒู…ุงู† ู…ุฑุฉ
333
00:24:53,310 --> 00:24:56,610
select columns from ู‡ูŠ ุงู„ table ุฃูˆู„ ุงุญู†ุง ูƒู†ุง ู†ุนู…ู„
334
00:24:56,610 --> 00:25:02,620
table 1 ูˆู†ุฑูˆุญ ู†ุนู…ู„ ูุงุตู„ุฉ ูˆ ู†ูƒุชุจ ู‡ุฐู‡ ุฅูŠุด table ุชูˆ
335
00:25:02,620 --> 00:25:06,320
ูˆู†ุฑูˆุญ ู†ุญุท where ูˆู†ุญุท ุดุฑุท ุตุญุŸ ุนุดุงู† ูƒู†ุง ู†ุนู…ู„ ู„ุฃู† ุจุฏู„
336
00:25:06,320 --> 00:25:10,000
ูƒู„ู…ุฉ table two ู‡ู†ุนู…ู„ table one inner join table
337
00:25:10,000 --> 00:25:12,620
two ูŠุนู†ูŠ ุฃุฑุจุท ู„ table one ู…ุน table two ู†ูˆุน ุงู„ join
338
00:25:12,620 --> 00:25:17,800
ุฅูŠุด inner ุทุจ ุฅูŠุด ุงู„ุดุฑุทุŸ ู‡ุงูŠ ุงู„ุดุฑุท on ุงู„ column ู‡ุฐุง
339
00:25:17,800 --> 00:25:22,140
ุจูŠุณุงูˆูŠ ุงู„ column ู‡ุฐุง ู…ุซุงู„
340
00:25:22,140 --> 00:25:27,680
ุฃูˆ example ููŠ
341
00:25:27,680 --> 00:25:34,520
ุนู†ุฏูŠ two tables ูˆุงุญุฏ ู„ู„ู€ suppliers ู…ุฒูˆุฏูŠู† ุดุฑูƒุงุช
342
00:25:34,520 --> 00:25:39,300
ุชุนุทูŠู†ูŠ ู‚ุทุน ุฃูˆ ุชุนุทูŠู†ูŠ ุจุถุงุนุฉ ูˆููŠ ุนู†ุฏูŠ orders ุทู„ุจูŠุงุช
343
00:25:39,300 --> 00:25:44,680
ุทู„ุจูŠุงุช ุงู„ suppliers ููŠ supplier ID ูˆ supplier name
344
00:25:44,680 --> 00:25:48,540
ุฅูŠู‡ ุฑู‚ู…ู‡ ูˆ ุฅูŠู‡ ุงุณู…ู‡ ุฃู„ู ู„ูŠู‡ ุดุฑูƒุฉ IBM ุฃู„ู ูˆ ูˆุงุญุฏ
345
00:25:48,540 --> 00:25:52,520
ุดุฑูƒุฉ HP ุฃู„ู ูˆ ุงุชู†ูŠู† Microsoft ุฃู„ู ูˆ ุชู„ุงุชุฉ Nvidia
346
00:25:52,520 --> 00:25:57,340
ุงู„ order tables ููŠ ุนู†ุฏูŠ ุฑู‚ู… ู„ู„ order ูˆููŠ ุงู„
347
00:25:57,340 --> 00:26:00,490
supplier ุงู„ู„ูŠ ุฌุงุจู„ูŠ ุงู„ order ุฑู‚ู…ู‡ ู‡ุฐุง ู…ุนู†ุงุชู‡ ุฅูŠุด
348
00:26:00,490 --> 00:26:04,390
ู‡ูŠูƒูˆู† ุงู„ supplier ID ู‡ุฐุง primary ูˆู„ุง foreign ุงู„
349
00:26:04,390 --> 00:26:09,470
supplier ID ููŠ ุฌุฏูˆู„ ุงู„ supplier primary key ูˆู…ูˆุฌูˆุฏ
350
00:26:09,470 --> 00:26:13,050
ููŠ ู‡ุฐุง ุงู„ table ุน ุดูƒู„ ุฅูŠุด ูŠุนู†ูŠ ู‡ูˆ ุงู„ู„ูŠ ุจุฑุจุท ู…ู† ุงู„
351
00:26:13,050 --> 00:26:17,290
two tables ูˆููŠ ุนู†ุฏ ุงู„ order date ุชุงุฑูŠุฎ ุงู„ order
352
00:26:17,290 --> 00:26:21,930
ุชุงุฑูŠุฎ ุงู„ุทู„ุจูŠู† ูˆ ุงู„ primary key ุชุจุน ุงู„ุฌุฏูˆู„ ู‡ุฐุง ุงู„ู„ูŠ
353
00:26:21,930 --> 00:26:27,710
ู‡ูˆ ู…ูŠู† ุงู„ู„ูŠ ู‡ูˆ ุงู„ order ID ู‡ูˆ ุงู„ primary key ูุงู†ุง
354
00:26:27,710 --> 00:26:29,950
ู„ู…ุง ุฃุญุท ุงู„ุดุฑุท ุนู„ู‰ ุงู„ inner join ุงู„ู„ูŠ ุงุญู†ุง ู…ุชุนูˆุฏูŠู†
355
00:26:29,950 --> 00:26:33,390
ุนู„ูŠู‡ ุงู†ู‡ ุงู„ primary ุจูŠุณุงูˆูŠ ุงู„ foreign ู…ูŠู† ู‡ูŠุทู„ุนุŸ
356
00:26:33,390 --> 00:26:37,770
ุงู„ุฃู„ู ู…ูˆุฌูˆุฏ ููŠ ุงู„ orders ู‡ุงูŠ ุงู„ supplier ุงู„ู„ู‚ู… ุฃู„ู
357
00:26:37,770 --> 00:26:42,050
ู…ูˆุฌูˆุฏ ู…ุนู†ุงู‡ ุชุฑูˆุง ู‡ุฐุง ุจุฏูˆ ูŠุทู„ุน ููŠ ุงู„ query ุตุญุŸ ุทูŠุจ
358
00:26:42,050 --> 00:26:46,990
ุงู„ุฃู„ู ูˆ ูˆุงุญุฏ ู…ูˆุฌูˆุฏุŸ ู…ูˆุฌูˆุฏ ุงู„ุฃู„ู ูˆ ุงุชู†ูŠู† ูˆ ุงู„ุฃู„ู
359
00:26:46,990 --> 00:26:51,070
ุชู„ุงุชุฉ ู…ูˆุฌูˆุฏูŠู†ุŸ ู…ุด ู‡ูŠุทู„ุน ู…ุนู†ุงู‡ ุงู„ุณุทุฑูŠู† ุงู„ู„ูŠ ู‡ูŠูƒูˆู†ูˆุง
360
00:26:51,070 --> 00:26:55,590
ุงู„ู†ุชูŠุฌุฉ ู‡ุงูŠู‡ู… ุงู„ุฃู„ู ูˆ ุงู„ุฃู„ู ูˆุงุญุฏ ุจุณ ุงูŠุด ุงุณู… ุงู„ุฃู„ูุŸ
361
00:26:55,590 --> 00:27:00,830
ุงู„ุนุดุฑ ุชู„ุงู ุงู„ุนุดุฑ ุชู„ุงู ุงู„ู„ูŠ ู‡ูˆ ู…ูŠู† IBM ูˆุงู„ุนุดุฑ ุชู„ุงู ูˆ
362
00:27:00,830 --> 00:27:04,770
ูˆุงุญุฏ ุงู„ู„ูŠ ู‡ูˆ ู…ูŠู† HP ู‡ุงูŠ ุฃุณู…ุงุกู‡ู… ุชุงุฑูŠุฎ ุงู„ order
363
00:27:04,770 --> 00:27:07,290
ุณุงุนุชู‡ู… ู‡ุงูŠู‡ู… ู…ู† ุงู„ุณุทุฑูŠู† ู‡ุฏูˆู„ ู‡ุงูŠ ุชุงุฑูŠุฎ ุงู„ order
364
00:27:07,290 --> 00:27:10,170
ู‡ุงูŠ ุชุงุฑูŠุฎ ุงู„ order ุชู„ุชุงุด ุฎู…ุณุฉ ูˆ ุงุชู†ุงุด ุฎู…ุณุฉ ู‡ุงูŠ
365
00:27:10,170 --> 00:27:13,470
ุชู„ุชุงุด ุฎู…ุณุฉ ูˆ ุงุชู†ุงุด ุฎู…ุณุฉ ู‡ุฐู‡ ู†ุชูŠุฌุฉ ุงู„ inner join
366
00:27:13,470 --> 00:27:16,550
ุงู„ู„ูŠ ุงุญู†ุง ู…ุชุนูˆุฏูŠู† ู†ุญุณุจู‡ุง ูƒูŠู ูƒุชุจู†ุงู‡ุง ุฒู…ุงู† ูƒู†ุง
367
00:27:16,550 --> 00:27:21,570
ู†ูƒุชุจู‡ุง ู‡ูŠูƒ select supplier id ู…ู† ุฌุฏูˆู„ ุงู„ suppliers
368
00:27:21,570 --> 00:27:25,550
ูˆ supplier name ู…ู† ุฌุฏูˆู„ ุงู„ suppliers ูˆ ุงู„ date ู…ู†
369
00:27:25,550 --> 00:27:29,130
ุฌุฏูˆู„ ุงู„ orders from ุฃุณู…ุงุก ุงู„ two tables ุงู„ู„ูŠ ู‡ู…
370
00:27:29,130 --> 00:27:35,130
suppliers ูˆ orders ูˆู‡ูŠ ุงู„ุดุฑุท ุฃู† ุงู„ supplier id ู‡ูˆ
371
00:27:35,130 --> 00:27:38,430
ู†ูุณู‡ ููŠ ุงู„ two tables ููŠ ุงู„ orders ูˆ ููŠ ุงู„
372
00:27:38,430 --> 00:27:43,730
suppliers ูƒูŠู ู†ูƒุชุจู‡ุง ููŠ ุงู„ุทุฑูŠู‚ุฉ ุงู„ุฌุฏูŠุฏุฉุŸ ู‡ูŠ ุงู†ู‡
373
00:27:43,730 --> 00:27:48,560
ุงู†ุง ุนู…ู„ุช from suppliers ูƒุชุจุช ุงุณู… ุงู„ table ุงู„ุฃูˆู„ ูˆ
374
00:27:48,560 --> 00:27:52,620
ุฑูˆุญุช ุญูƒูŠุงุช inner join inner join ุงู„ orders inner
375
00:27:52,620 --> 00:27:58,800
join ุงู„ orders on ู†ูุณ ุงู„ุดุฑุทุฉ ู‡ุฐู‡ ุงู„ query ู‡ูŠ ู†ูุณู‡ุง
376
00:27:58,800 --> 00:28:03,120
ู‡ูŠ ู†ุชูŠุฌุชู‡ุง ุงู„ู„ูŠ ุงุญู†ุง ู…ุชุนูˆุฏูŠู† ู†ุญุณุจู‡ุง ู…ุงููŠุด ุงุดูŠ ุฌุฏูŠุฏ
377
00:28:04,170 --> 00:28:07,990
ุทุจ ู„ูŠุด ุงุญู†ุง ุจู†ุนู„ู…ูƒู… ุงู„ syntax ุงู„ุฌุฏูŠุฏุŸ ู…ุด ุจุถุฑูˆุฑูŠ ููŠ
378
00:28:07,990 --> 00:28:10,710
ุงู„ุงู…ุชุญุงู† ุชูƒุชุจูˆู‡ ู„ูˆ ูƒุชุจุชูˆุง ุจู‡ุฐู‡ ุงู„ุทุฑูŠู‚ุฉ ู…ุงููŠ ู…ุดูƒู„ุฉ
379
00:28:10,710 --> 00:28:13,750
ู„ูƒู† ุงุญู†ุง ุจู†ุชุนู„ู…ู‡ ุนุดุงู† ูƒู…ุงู† ุดูˆูŠู‡ ุจุฏูŠ ุงุดูŠู„ ูƒู„ู…ุฉ
380
00:28:13,750 --> 00:28:18,390
inner join ูˆ ุฃุญุท ู…ุญู„ู‡ ู…ูŠู† left join ูˆ right join ูˆ
381
00:28:18,390 --> 00:28:24,970
full join ุจุณ ุนุดุงู† ู‡ูŠูƒ ู‡ุงุฎุฏ ู†ูุณ ุงู„ example ูˆ ุฃุทุจู‚ู‡
382
00:28:24,970 --> 00:28:29,430
ุนู„ู‰ left join ูˆ ู†ุดูˆู ู†ุชูŠุฌุชู‡ ุนู„ู‰ ุงู„ two tables ูˆูŠู†ุŸ
383
00:28:33,450 --> 00:28:36,310
ู‡ุฐู‡ ุงู„ primary key ู…ุฑุจูˆุท ู…ุน ู…ูŠู†ุŸ ุจุงู„ุนุดุฑ ุชู„ุงู ูˆ
384
00:28:36,310 --> 00:28:39,750
ุฃุฑุจุนุฉ ู…ุด ู…ู‚ุดุฑ ุนู„ู‰ ุฃูŠ ุดูŠ ุตุญูŠุญ ู…ุด ู…ูˆุฌูˆุฏ ุจู‚ุดุฑุด ุนู„ู‰ ุฃูŠ
385
00:28:39,750 --> 00:28:42,350
ุดูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู‰ ููŠ ุงู„ example ู‡ุฐุง ุตุญูŠุญ ูƒู„ุงู…ูƒ ู…ุธุจูˆุท
386
00:28:42,350 --> 00:28:46,870
ููŠ ุนู†ุฏูŠ ู‡ู†ุง ุนุดุฑ ุชู„ุงู ูˆ ุฃุฑุจุนุฉ ูˆ ุจู‚ุดุฑุด ู…ุด ู…ู‚ุดุฑ ุนู„ู‰
387
00:28:46,870 --> 00:28:51,090
ุฃูŠ ุดูŠ ู„ูŠุด ู…ูˆุฌูˆุฏ ู‡ูŠูƒุŸ ู…ูˆุฌูˆุฏ ู‡ูŠูƒ ุนุดุงู† ุฃู†ุง ุจุณ ุจุชุนู…ู„
388
00:28:51,090 --> 00:28:56,450
example ู…ุด ุฃูƒุชุฑ ุฃู…ุง ูุนู„ูŠุง ู„ูˆ ุฃู†ุง ุนุงู…ู„ restrictions
389
00:28:57,850 --> 00:29:00,950
restrictions ู…ุธุจูˆุทุฉ ููŠ ุงู„ tables ุนู†ุฏูŠ ูˆ ู…ุนุฑูู‡ ูุนู„ุง
390
00:29:00,950 --> 00:29:04,590
ูƒ foreign key ู…ุด ู‡ูŠุฏุฎู„ ุฃุตู„ุง ููŠ ุงู„ database ูƒู„ุงู…ูƒ
391
00:29:04,590 --> 00:29:12,550
ู…ุธุจูˆุท ุงู„ left outer join ููƒุฑุชู‡ุง ุฒูŠ ู…ุง ุดุฑุญู†ุง ุฃู†
392
00:29:12,550 --> 00:29:16,510
ุงุญู†ุง ุจุฏู†ุง ู†ุทู„ุน ุงู„ all rows ู…ู† ุงู„ left hand table
393
00:29:16,510 --> 00:29:20,620
ุงู„ table ุงู„ุนูŠุฏูŠ ุงู„ุดู…ุงู„ูŠ ููŠ ุงู„ code ููŠ ุงู„ code ุงู„ table
394
00:29:20,620 --> 00:29:25,360
ุงู„ุนูŠูŠุฏูŠ ุงู„ุดู…ุงู„ูŠ ุจูŠู†ู…ุง ุงู„ุนูŠุฏูŠ ุงู„ูŠู…ูŠู† ุจุณ only those
395
00:29:25,360 --> 00:29:29,900
rows ุงู„ู„ูŠ ู…ุง ู„ู‡ู… ุงู„ join fields are equal ุงู„ุดุฑุท
396
00:29:29,900 --> 00:29:33,520
ุชุจุนู‡ู… ุจูŠุณุงูˆูŠ ุจุนุถ ุงู„ primary key ุจูŠุณุงูˆูŠ ุงู„ foreign
397
00:29:33,520 --> 00:29:38,580
key ุดูƒู„ู‡ุง select columns from table one left outer
398
00:29:38,580 --> 00:29:42,580
join ุงู„ table ุงู„ุชุงู†ูŠ on ูˆ ุงู„ุดุฑุทูŠู† ุงู„ู„ูŠ ุจุฏู†ุง ูŠู‡ู…
399
00:29:42,580 --> 00:29:48,560
ุงู„ุดุฑุท ุงูŠ column ุจูŠุณุงูˆูŠ ุงูŠ column ูƒู„ู…ุฉ author ู‡ุฐู‡
400
00:29:48,560 --> 00:29:52,400
ุจุนุถ ุงู„ database optional ูŠุนู†ูŠ ู…ุด ุถุฑูˆุฑูŠ ุชูƒุชุจู‡ุง ูŠุนู†ูŠ
401
00:29:52,400 --> 00:29:57,140
ู…ู…ูƒู† ู†ูƒุชุจ ุจุณ from table 1 left join ุจุฏูˆู† ูƒู„ู…ุฉ
402
00:29:57,140 --> 00:30:02,240
author left join ุจุฏูˆู† ูƒู„ู…ุฉ author ุงู„ author ู‡ุงูŠ
403
00:30:02,240 --> 00:30:07,320
optional ุทุจุนุง ููŠ ุงู„ inner ู…ุด ู…ูˆุฌูˆุฏุฉ ู„ุฃู† ุงู„ inner
404
00:30:07,320 --> 00:30:10,580
ู‡ูŠ ู…ุด .. ู…ุด author ุงู„ inner ูˆุงุญุฏุฉ ูˆ ุงู„ author
405
00:30:10,580 --> 00:30:14,950
ุชู„ุงุชุฉ ูู‡ุฐู‡ left join ุฃูˆ left author join ุงูŠุด
406
00:30:14,950 --> 00:30:17,270
ู†ุชูŠุฌุชู‡ุง ู‡ุชูƒูˆู† ููŠ ุงู„ example ุงู„ู„ูŠ ุนู†ุฏูŠุŸ ู„ูˆ ุนู†ุฏูŠ ุงู†ุง
407
00:30:17,270 --> 00:30:21,050
supplier table ุฒูŠ ู‡ุฏ ููŠู‡ ุงู„ุฃุฑุจุน ุดุฑูƒุงุช ูˆุนู†ุฏูŠ ุงู„
408
00:30:21,050 --> 00:30:25,070
order table ูุด ููŠู‡ ุบูŠุฑ two orders ูˆ ุจุฏุนู… ุงู„ left
409
00:30:25,070 --> 00:30:28,890
join ู‡ุฐุง ุงู„ left ูˆ ู‡ุฐุง ุงู„ right ู…ุฏุงู… ู‡ุฐุง ุงู„ left
410
00:30:28,890 --> 00:30:33,530
ุฅุฐุง ูƒู„ ุงู„ุฃุฑุจุน ุฃุณุทูˆุฑ ู‡ุฏูˆู„ ู„ุงุฒู… ุฅูŠู‡ ุฅูŠุดุŸ ู„ุงุฒู… ูŠุธู‡ุฑูˆุง
411
00:30:33,530 --> 00:30:37,890
ุงู„ู„ูŠ ุฅู„ู‡ order ู‡ู†ุทู„ุน ุชูุงุตูŠู„ ุงู„ order ุจุชุงุนุชู‡ ูˆ ุงู„ู„ูŠ
412
00:30:37,890 --> 00:30:43,730
ู…ุงู„ูˆุด order ู‡ุฐู‡ ุงู„ query select supplier ID ูˆ
413
00:30:43,730 --> 00:30:47,130
supplier name ูˆ order date ู‡ุงูŠู‡ู… ุจุฏู†ุง supplier ID
414
00:30:47,130 --> 00:30:50,910
ูˆ supplier name ู…ู† ุฌุฏูˆู„ ุงู„ supplier ูˆ ู…ู† ุฌุฏูˆู„ ุงู„
415
00:30:50,910 --> 00:30:56,350
order ุจุฏู†ุง ุจุณ ุงู„ order date left outer join ู…ูŠู†
416
00:30:56,350 --> 00:30:59,590
ุงู„ู„ูŠ ุนู„ู‰ ุงู„ุดู…ุงู„ุŸ ู‡ุงูŠ ุงู„ู„ูŠ ููˆู‚ suppliers ู…ูŠู† ุงู„ู„ูŠ
417
00:30:59,590 --> 00:31:02,550
ุนู„ู‰ ุงู„ูŠู…ูŠู†ุŸ ุงู„ orders ุจู…ุง ุฃู†ู‡ left ู…ุนู†ุงุชู‡ ุงู„
418
00:31:02,550 --> 00:31:05,750
suppliers ู„ุงุฒู… ูƒู„ู‡ู… ูŠุทู„ุนูˆุง ุนู†ุฏูŠ ุฃุฑุจุน ุนุตุฑ ุจุฏุฃ ุฃุดูˆู
419
00:31:05,750 --> 00:31:11,030
ูƒู„ ูˆุงุญุฏ ู…ู† ุฃุฑุจุน ุนุตุฑ ู„ุงุฒู… ูŠูƒูˆู† ู…ูˆุฌูˆุฏู‡ู†ูŠุฌูŠ ุนู„ู‰ ุงู„ุฃูˆู„
420
00:31:11,030 --> 00:31:16,410
ุฑู‚ู…ู‡ ุนุดุฑ ุชู„ุงู ุงู„ุดุฑุท ุฑู‚ู…ู‡ ุนุดุฑ ุชู„ุงู ููŠ ู…ู‚ุงุจู„ู‡ ุนุดุฑ
421
00:31:16,410 --> 00:31:21,530
ุชู„ุงู ุณุทุฑ ูˆุงุญุฏ ูู‡ูŠุธู‡ุฑ ุณุทุฑ ูˆุงุญุฏ ู„ูˆ ููŠ ู…ู‚ุงุจู„ู‡ ุณุทุฑูŠู†
422
00:31:21,530 --> 00:31:27,210
ู‚ูŠู…ุชู‡ู… ุนุดุฑ ุชู„ุงู ู‡ูŠุธู‡ุฑ ุณุทุฑูŠู† ุงู„ู„ูŠ ุฃุฎุฐู†ุงู‡ุง ุงู„ุณูŠู„ุฑุฒ
423
00:31:27,210 --> 00:31:33,910
ููŠ ุงู„ุณูŠู„ุฑุฒ ู„ู…ุง ูƒุงู† ุฏุงุณุชู† ุญุงุฌุฒ ุฃุฑุจุน ู…ุฑุงุช ุฏุงุณุชู† ุทู„ุน
424
00:31:33,910 --> 00:31:41,810
ู…ุฑุฉ ูˆุงุญุฏุฉ ู„ุฃ ุจุทู„ุน ุฃุฑุจุน ู…ุฑุงุช ู‡ุงูŠ ุฏุงุณุชู† ู…ุชูƒุฑุฑ ุนู†ุฏูŠ
425
00:31:41,810 --> 00:31:47,410
ุฃุฑุจุน ู…ุฑุงุช ุฑู‚ู… 22 ุฃุฑุจุน ู…ุฑุงุช ู„ุฅู†ู‡ ุฃุฑุจุน ุญุฌูˆุฒุงุช ู„ูˆ
426
00:31:47,410 --> 00:31:51,450
ู…ุงู„ูˆุด ุฃูŠ ุดูŠุก ู‡ูŠุทู„ุน ู…ุฑุฉ ูˆุงุญุฏุฉ ูˆ ู…ู‚ุงุจู„ู‡ุง ุฅูŠุด ู…ู‚ุงุจู„ู‡ุง
427
00:31:51,450 --> 00:31:59,170
ู†ูุณ ุงู„ููƒุฑุฉ ุนู†ุฏูŠ ููŠ ุฃู†ุง ุนู†ุฏูŠ order ูˆุงุญุฏ ุจุณ ู„ู„ุดุฑูƒุฉ
428
00:31:59,170 --> 00:32:02,910
ุงู„ู„ูŠ ุฑู‚ู…ู‡ุง ุนุดุฑ ุชู„ุงู ุงู„ุดุฑูƒุฉ ุงู„ุฑู‚ู… 10000 ุงู„ู„ูŠ ู‡ูŠ IBM
429
00:32:02,910 --> 00:32:06,830
ุงู„ู„ูŠ ู‡ูŠ ุจุณ order ูˆุงุญุฏ ู‡ูŠ ุชุงุฑูŠุฎู‡ 12 5 ูู‡ูŠุทู„ุน 10000
430
00:32:06,830 --> 00:32:13,110
IBM 12 5 ุงู„ู„ูŠ ุจุนุฏูŠู‡ุง 10000 ูˆุงุญุฏ ุงู„ู„ูŠ ู‡ูŠ order ู†ูุณ
431
00:32:13,110 --> 00:32:16,530
ุงู„ุดูŠุก ู‡ุญุท ุฑู‚ู…ู‡ุง ูˆุงุณู…ู‡ุง ูˆ ุชุงุฑูŠุฎู‡ุง 13 5 ู‡ูŠ ุทู„ุนุช
432
00:32:16,530 --> 00:32:19,990
ุงู„ุงุชู†ูŠู† ุงู„ู„ูŠ ุถุงูŠู„ูŠู† ู…ุง ุงู„ู„ูŠ ู‡ู… ู…ุด order ู…ุง ููŠุด ุนู†ุฏูŠ
433
00:32:19,990 --> 00:32:25,230
order ู‡ุฌูŠุจ ุฃุฑู‚ุงู…ู‡ู… ูˆ ุฃุณู…ุงุกู‡ู… ูˆ ุชุงุฑูŠุฎ ุงู„ order ู…ุง
434
00:32:25,230 --> 00:32:26,910
ุงู„ู„ูŠ ู‡ู… ู…ุด order ูุชุงุฑูŠุฎ ุงู„ order
435
00:32:30,340 --> 00:32:35,480
ู‡ูŠ left outer join right
436
00:32:35,480 --> 00:32:38,820
outer join ุฒูŠ ู…ุง ุฃู†ุง ุดุฑุญุช ุงู„ููƒุฑุฉ ุงู„ู…ุฑุฉ ู‡ูŠ ู‡ุงุฎุฏ ุงู„
437
00:32:38,820 --> 00:32:42,240
all rows ู…ู† ุงู„ table ุงู„ู„ูŠ ููŠ ุงู„ code ู…ู† ูˆูŠู† ู…ูˆุฌูˆุฏ
438
00:32:42,240 --> 00:32:47,040
ุนู„ู‰ ุงู„ูŠู…ูŠู† ูˆ ุงู„ู„ูŠ ุนู„ู‰ ุงู„ุดู…ุงู„ ุจุณ ุฅุฐุง ุจุญู‚ู‚ ุงู„
439
00:32:47,040 --> 00:32:49,780
condition ุฅุฐุง ุจุญู‚ู‚ ุงู„ุดุฑุท select ุงู„ columns from
440
00:32:49,780 --> 00:32:53,700
table 1 right outer join ูˆ ูƒู„ู…ุฉ outer ู…ู…ูƒู† ู†ุดุทุจู‡ุง
441
00:32:54,240 --> 00:32:58,960
ุนุงู„ table ุฑู‚ู… 2 on ุงู„ุดุฑุท ุชุจุนูŠ ุงู„ tokens ุงู„ู„ูŠ ุจุฏูŠู‡ู…
442
00:32:58,960 --> 00:33:03,960
ูŠูƒูˆู†ูˆุง ุจูŠุณุงูˆูˆุง ุจุนุถ ู‡ุฐู‡ ุงู„ู…ุซุงู„ ุงู„ู…ุฑุฉ ู‡ุฐู‡ ุนู†ุฏูŠ
443
00:33:03,960 --> 00:33:07,660
suppliers ููŠ ูƒุงู… ูˆุงุญุฏ ุจุณ ุงุชู†ูŠู† suppliers ูˆุงุญุฏ ุฑู‚ู…
444
00:33:07,660 --> 00:33:11,020
ุนุดุฑ ุชู„ุงู ูˆ ูˆุงุญุฏ ุฑู‚ู… ุนุดุฑ ุชู„ุงู ูˆ ูˆุงุญุฏ ุดุฑูƒุฉ apple ูˆ
445
00:33:11,020 --> 00:33:15,900
ุดุฑูƒุฉ google ุงู„ orders table ููŠ ุนู†ุฏูŠ ุงุฑุจุน three
446
00:33:15,900 --> 00:33:22,480
orders ุนู†ุฏูŠ three orders ุจุฏูŠ ุฃู†ุง write right join
447
00:33:22,480 --> 00:33:28,460
ูŠุนู†ูŠ ู‡ุฏูˆู„ ุงู„ุชู„ุงุชุฉ ูƒู„ู‡ู… ู„ุงุฒู… ูŠุธู‡ุฑ ูุนู†ุฏูŠ suppliers
448
00:33:28,460 --> 00:33:31,620
right outer join ุงู„ orders ูุงู„ orders ู‡ูŠ ุงู„ู„ูŠ ุนู„ู‰
449
00:33:31,620 --> 00:33:35,680
ุงู„ right ู‡ูŠ ุงู„ู„ูŠ ุจุชุธู‡ุฑ ูƒู„ู‡ู… ู‡ู†ุจุฏุฃ ุงู„ุนุดุฑ ุชู„ุงู ุงู„ู„ูŠ
450
00:33:35,680 --> 00:33:42,700
ู„ู‡ุง ู‚ูŠู…ุฉ ุจุชุณูˆูŠู‡ุง ุตุญูŠุญ ุฅุฐุง ุฃู†ุง ู‡ุญุท ุงู„ุนุดุฑ ุชู„ุงู ูˆุฑู‚ู…
451
00:33:42,700 --> 00:33:46,440
ุงู„ุดุฑูƒุฉ ู…ุซู„ุง ู…ุง ุนูŠุด ุงู„ู„ูŠ ุนุงู…ู„ ุนู„ูŠู‡ supplier ID
452
00:33:46,440 --> 00:33:49,800
ุจูŠุณุงูˆุง ุจุนุถ ุจุณ ุฃู†ุง ุงู„ู„ูŠ ู…ุธู‡ุฑู‡ ุงู„ู„ูŠ ุจุฏูŠ ุฃุธู‡ุฑ ู‡ูˆ ุฑู‚ู…
453
00:33:49,800 --> 00:33:54,520
ุงู„ order id ูˆุฑู‚ู… ุงู„ order date ูˆ ุงู„ supplier name
454
00:33:54,520 --> 00:33:58,760
ู‡ุงูŠ ุงู„ supplier name ู…ู† ุฌุฏูˆู„ ุงู„ supplier ูˆ ู‡ุงูŠ ุงู„
455
00:33:58,760 --> 00:34:02,940
order id ูˆ ู‡ุงูŠ ุงู„ order date ู‡ุฏูˆู„ ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ
456
00:34:02,940 --> 00:34:07,860
ุฃุธู‡ุฑู‡ู… ุงู„ columns ูู‡ุงุฎุฏ ุงู„ order id ูƒุงู† ุฎู…ุณู…ูŠุฉ ู…ูŠุฉ
457
00:34:07,860 --> 00:34:11,960
ุฎู…ุณุฉ ูˆ ุนุดุฑูŠู† ู‡ุงูŠ ุงู„ order date ููŠ ุงุทู…ุนุงุด ุชู…ุงู†ูŠุฉ
458
00:34:11,960 --> 00:34:15,680
ู‡ุงูŠ ู…ูˆุฌูˆุฏ supplier name ู‡ุงูŠ ุงู„ุฑู‚ู… ุจูŠุณุงูˆูŠ ุงู„ุฑู‚ู… ู‡ุงูŠ
459
00:34:15,680 --> 00:34:16,880
ุงู„ name apple
460
00:34:19,140 --> 00:34:24,080
ุงู„ู„ูŠ ุจุนุฏู‡ ุนุดุฑ ุชู„ุงู ูˆุงุญุฏ ู…ูˆุฌูˆุฏ ุงู‡ ู…ูˆุฌูˆุฏ ุฅุฐุง ุฃู†ุง ุฃุญุท
461
00:34:24,080 --> 00:34:27,700
ุงู„ุงุณู… Google ุงู„ order ID ุฎู…ุณ ุชู„ุงู ู…ูŠู† ุณุชุฉ ูˆุนุดุฑูŠู†
462
00:34:27,700 --> 00:34:31,060
ู‡ูŠูˆ ุฎู…ุณ ุชู„ุงู ู…ูŠู† ุณุชุฉ ูˆุนุดุฑูŠู† ูˆ ุชุงุฑูŠุฎู‡ ุชู„ุชุงุดุฑ ุชู…ุงู…ุง
463
00:34:31,060 --> 00:34:35,560
ุงู„ู„ูŠ ุจุนุฏู‡ ููŠ ุนู†ุฏูŠ order ู„ู‡ ุชุงุฑูŠุฎ ูˆ ุดุฑูƒุฉ ู„ู‡ุง ุฑู‚ู…
464
00:34:35,560 --> 00:34:40,240
ูˆ ููŠ order ู„ู‡ ุฑู‚ู… ู„ูƒู† ู…ุด ู…ูˆุฌูˆุฏ ุงู„ supplier ู‡ุฐุง ู…ุด
465
00:34:40,240 --> 00:34:43,230
ู…ูˆุฌูˆุฏ ุฎู„ุต ุฏูˆู„ ุงู„ suppliers ูˆ ุฃู†ุง ุนุงู…ู„ ุนู„ู‰ ุงู„ right
466
00:34:43,230 --> 00:34:45,710
ูุฅุฐุง ุจุฏุฃ ุฃุฎุฏ ู…ุนู„ูˆู…ุงุชู‡ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ู‡ุฐุง ุงู„ุฌุฏูˆู„
467
00:34:45,710 --> 00:34:49,350
ุงู„ู„ูŠ ู‡ู… ุฏูˆู„ ู…ุนู„ูˆู…ุชูŠู† ุจุณ order id ูˆ order date
468
00:34:49,350 --> 00:34:54,690
ู‡ุงูŠู‡ู… ุนุจูŠุชู‡ู… ูˆ ุงู„ supplier ู…ุงู„ูˆุด ุงุณู… ุนู†ุฏูŠ ุญุทูŠุช ู„ู‡
469
00:34:54,690 --> 00:35:00,430
ุงู„
470
00:35:00,430 --> 00:35:06,390
full outer join ุจุฏู†ุง ู†ุฃุฎุฏ ูƒู„ ุงู„ rows ููŠ ุงู„ table
471
00:35:06,390 --> 00:35:11,000
ุงู„ุฃูˆู„ ูˆ ูƒู„ ุงู„ rows ููŠ ุงู„ table ุงู„ุซุงู†ูŠ ูˆ ู†ูƒุฑุฑ ุจูŠุงู†ุงุช
472
00:35:11,000 --> 00:35:15,400
ูู‚ุท ุงู„ู†ุงุณ ุงู„ู„ูŠ ุงู„ุดุฑุท ุจุชุงุนู‡ู… ุจุชุญู‚ู‚ ูˆ ุงู„ู„ูŠ ุดุฑุทู‡ู…
473
00:35:15,400 --> 00:35:18,580
ู…ุง ุจุชุญู‚ู‚ุด ุจู†ุญุท ููŠ ุงู„ columns ุงู„ู„ูŠ ู…ู† ุงู„ table
474
00:35:18,580 --> 00:35:24,080
ุงู„ุชุงู†ูŠ in all ู†ูุณ ุงู„ syntax ุจุณ ุจุฏุฃ ุงู„ left ูˆ ุจุฏุฃ
475
00:35:24,080 --> 00:35:29,500
ุงู„ right ุฏู‡ ุญุท ู…ูŠู† full ุจุงู„ุถุจุท ูŠุนู†ูŠ ุงู„ cross
476
00:35:29,500 --> 00:35:32,520
product ู…ุด ู‡ู†ุดูŠู„ ู…ู†ู‡ ุฅูŠุด ู…ุด ุงุญู†ุง ุฃูˆู„ ุฎุทูˆุฉ ููŠ ุงู„
477
00:35:32,520 --> 00:35:35,520
select ู†ุนู…ู„ cross product ู…ุด ู‡ู†ุดูŠู„ ู…ู†ู‡ ุฅูŠุด ู‡ู†ุฎู„ูŠู‡
478
00:35:39,140 --> 00:35:41,720
ู‡ูŠ ุนู†ุฏูŠ ู†ูุณ ุงู„ููƒุฑุฉ ุจุฏูŠ ุงู„ supplier id ูˆ ุงู„
479
00:35:41,720 --> 00:35:44,980
supplier name ูˆ ุงู„ order date ู…ู† ุงู„ two tables ูˆ
480
00:35:44,980 --> 00:35:48,280
ุงู„ two tables ุฏู‡ ุนู…ู„ ุนู„ูŠู‡ู… full join ููŠ ุงู„ table
481
00:35:48,280 --> 00:35:51,680
ุงู„ุฃูˆู„ ููŠ ุนู†ุฏูŠ ุฃุฑุจุน ุฃุณุทุฑ ูˆ ููŠ ุงู„ุชุงู†ูŠ ููŠ ุนู†ุฏูŠ ุชู„ุงุชุฉ
482
00:35:51,680 --> 00:35:56,720
ู‡ู†ุฌูŠ ุนู„ู‰ ุงู„ table ุงู„ุฃูˆู„ ุงู„ุนุดุฑ ุชู„ุงู ููŠ ู„ู‡ุง ู…ู‚ุงุจู„ ู‡ูŠ
483
00:35:56,720 --> 00:36:02,480
ู…ูˆุฌูˆุฏ ุงู„ู…ู‚ุงุจู„ ุงู„ุนุดุฑ ุชู„ุงู ูˆ ูˆุงุญุฏ ุจุฑุถู‡ ู…ูˆุฌูˆุฏ ุงู„ุนุดุฑ
484
00:36:02,480 --> 00:36:05,940
ุชู„ุงู ูˆ ุงุชู†ูŠู† ู…ุด ู…ูˆุฌูˆุฏ ู‡ุฏู‰ ู‡ู†ุญุทู‡ุง ูˆ ู‡ู†ุญุท ู…ู‚ุงุจู„ู‡ุง
485
00:36:05,940 --> 00:36:13,230
ู…ูŠู† none ุงู„ุนุดุฑ ุชู„ุงู ูˆ ุชู„ุงุชุฉ ู…ูˆุฌูˆุฏ ู‡ู†ุญุท ู…ู‚ุงุจู„ู‡ุง ู…ูŠู†ุŸ
486
00:36:13,230 --> 00:36:17,650
none ู†ุฑุฌุน ุงู„ table ุงู„ุชุงู†ูŠ ุงุฎุชุฑู†ุง ู‡ุฏูˆู„ ุงู„ุตุทุฑูŠู† ุตุญุŸ
487
00:36:17,650 --> 00:36:21,470
ุงู„ุชุงู„ุช ุงุฎุชุฑู†ุง ุทู„ุน ู…ุนู†ุงุŸ ู…ุง ุทู„ุนุดุŒ ุฅุฐุง ุจุฏูŠ ุงุญุท ุงู„ุชุงู„ุช
488
00:36:21,470 --> 00:36:29,390
ูƒู…ุงู† ูˆ ุงุญุท ู…ู‚ุงุจู„ู‡ ุนู„ู‰ ุงู„ุฌู‡ุฉ ุงู„ุชุงู†ูŠุฉ ุฃูŠุดุŸ none ุฃุฎุฏุช
489
00:36:29,390 --> 00:36:32,330
ู…ูŠู† ููŠ ุงู„ุขุฎุฑุŸ ุงู„ู„ูŠ ู…ุง ุฃุฎุฐู†ุงู‡ูˆุดุŒ ู…ุง ุงุฎุชุฑู†ุงู‡ูˆุดุŒ ุงู„ู„ูŠ
490
00:36:32,330 --> 00:36:36,970
ุถุงูŠู„ุŒ ุงู„ู…ุชุจู‚ูŠ ู…ุด ุฑูˆุญุช ุฃุฎุฏุชู‡ู… ูƒู„ู‡ู… ูƒู…ุงู† ู…ุฑุฉ ุงู„ู„ูŠ
491
00:36:36,970 --> 00:36:42,010
ู…ุงู„ูˆุด ุงุดูŠ ู…ุดุชุฑูƒ ุฌุจุชู‡ ููŠ ุงู„ุขุฎุฑ ู‡ู†ุดูˆูู‡ ู…ุง ู‡ูŠ ุงู„ุนุดุฑ
492
00:36:42,010 --> 00:36:47,070
ุชู„ุงู IBM ูˆู‡ูŠ ุชุงุฑูŠุฎ ุชุจุนู‡ ุงุชู†ุงุดุฑ ุชู…ุงู†ูŠุฉ ู…ูˆุฌูˆุฏ ุงู„ู„ูŠ
493
00:36:47,070 --> 00:36:50,370
ุจุนุฏูŠู‡ ุนุดุฑ ุชู„ุงู ูˆุงุญุฏ ุชุงุฑูŠุฎู‡ ุชู„ุชุงุดุฑ ุชู…ุงู†ูŠุฉ ุงุณู…
494
00:36:50,370 --> 00:36:56,450
ุงู„ุดุฑูƒุฉ HP ู‡ูˆ ุงู„ bugger ุทูŠุจ ุงู„ ุงู„ู ูˆ ุงุชู†ูŠู† ูˆ ุงู„ู ูˆ
495
00:36:56,450 --> 00:36:59,430
ุชู„ุงุชุฉ ู‡ูŠ ุฌูŠุจู†ุง ุงู„ ุงู„ู ูˆ ุงุชู†ูŠู† ูˆ ุงู„ู ูˆ ุชู„ุงุชุฉ ูˆุงุณู…ู‡ู…
496
00:36:59,430 --> 00:37:03,880
ู„ูƒู† ู…ุงู„ู‡ู… ู…ุงู„ู‡ู… ู…ุด order date ูุญุทูŠู†ุง null ุฌูŠู†ุง ุนู„ู‰
497
00:37:03,880 --> 00:37:09,520
ุงู„ุณุทู„ ุงู„ุฃุฎูŠุฑ ุฅู„ู‡ ุชุงุฑูŠุฎ ู‡ุงูŠ ุชุงุฑูŠุฎู‡ ู„ูƒู† ู…ุง ุฅู„ู‡
498
00:37:09,520 --> 00:37:11,540
supplier name ูˆู„ุง supplier ID ููŠ ุงู„ุฌุฏูˆู„ุฉ ู‡ุฐุง
499
00:37:11,540 --> 00:37:16,940
ู…ู‚ุงุจู„ู‡ ู…ุง ููŠุด ุดูŠุก ู…ู‚ุงุจู„ู‡ ูู‡ุญุท ู…ู‚ุงุจู„ู‡ู… ูˆ ู„ุงุญุธูˆุง
500
00:37:16,940 --> 00:37:22,260
ู…ุง ุฌุจู†ุงุด ุงู„ supplier ID ู‡ุฐุง supplier ID ุทู„ุน ุนู„ูŠู‡
501
00:37:22,260 --> 00:37:28,360
ุดูŠุก ู…ูˆุฌูˆุฏ ู‡ุฐุง ุงู„ 1004 ุฃุฎุฐู†ุง ุชุงุฑูŠุฎู‡ ู„ูƒู† ู…ุง ุฌูŠู†ุง ุด
502
00:37:28,360 --> 00:37:35,440
ุฃุฎุฐู†ุง ุงู„ุฑู‚ู… ู‡ุฐุง ูˆ ุญุทู†ุงู‡ ู‡ู†ุญุทูŠู†ุง null ู„ูŠุดุŸ ู„ุฃู†ู‡ ุฃู†ุง
503
00:37:35,440 --> 00:37:39,360
ุฅูŠุด ุทุงู„ุจ ุงู„ supplier ID ู…ู† ุฃูŠ ุฌุฏูˆู„ ุจุฏูŠู‡ุง ู…ู† ุงู„
504
00:37:39,360 --> 00:37:43,880
suppliers ู…ู† ุงู„ุฃูˆู„ ูู‡ูˆ ููŠ ุงู„ุฃูˆู„ ู…ุด ู…ูˆุฌูˆุฏ ู null
505
00:37:43,880 --> 00:37:47,420
ู„ูƒู† ู„ูˆ ุฃู†ุง ูƒู†ุช ุทุงู„ุจ ุงู„ supplier ID ููŠ ุงู„ select ู„ูˆ
506
00:37:47,420 --> 00:37:53,100
ุทู„ุจู‡ุง ู…ู† ุงู„ orders ู‡ุชู†ุญุท
507
00:37:53,100 --> 00:37:57,200
ู‚ูŠู…ุชู‡ุง ูˆ ู‡ุชู†ุญุท ุงู„ุชุงุฑูŠุฎ ูˆ ุชุธู‡ุฑ ู‡ุงูŠ ุจุณ ู‡ุงูŠ ุจุณ ุงู„ู„ูŠ
508
00:37:57,200 --> 00:38:02,170
ุจุชุธู‡ุฑ null ุดูˆูุช ูˆูŠู† ุงู„ trick ู…ู† ูˆูŠู† ุฌุจู†ุง ุงู„
509
00:38:02,170 --> 00:38:05,910
supplier IDุŸ ู„ูˆ ุฌูŠุจู†ุงู‡ุง ู…ู† ุฌุฏูˆู„ ุงู„ supplier ู…ุงู„ู‡ุงุด
510
00:38:05,910 --> 00:38:10,910
ูˆุฌูˆุฏ ุงู„ุฃู„ู ูˆ ุฃุฑุจุนุฉ ู‡ูŠ ู…ุงู„ู‡ุงุด ูˆุฌูˆุฏ ูุญุถู„ู†ุงู„ู‡ ู„ูˆ
511
00:38:10,910 --> 00:38:13,310
ุฌูŠุจู†ุง ุงู„ supplier ID ุฃุตู„ุง ูƒู†ุง ุทุงู„ุจูŠู†ู‡ ููŠ ุงู„ select
512
00:38:13,310 --> 00:38:17,770
ู…ู† ุฌุฏูˆู„ ุงู„ orders ู…ูˆุฌูˆุฏุฉ ุญุชู†ุญุท ู…ุชู‡ุง ู„ูƒู† ุงู„ name
513
00:38:17,770 --> 00:38:24,470
ู…ุง ููŠุด ุนู†ุฏูŠ ู†ูุณ ุงู„ุฑู‚ู… ู‚ูˆู„ู‡ name ูุจุฏู†ุง ู†ู†ุชุจู‡ ููŠ ุงู„
514
00:38:24,470 --> 00:38:28,230
left ูˆ ููŠ ุงู„ right ูˆ ููŠ ุงู„ outer joints ู…ู† ูˆูŠู† ุฌุงูŠ
515
00:38:28,230 --> 00:38:32,320
ุงู„ูƒู„ู…ุฉ ู…ู† ุฃูŠ table ุงุญู†ุง ู„ูŠุด ุจู†ุญุท ุงุณู… ุงู„ table ู‚ุจู„
516
00:38:32,320 --> 00:38:36,460
ุงุณู… ุงู„ columnุŸ ุนุดุงู† ู†ู…ูŠุฒ ู…ู† ูˆูŠู† ุฌุงูŠ ุจู†ุนุฑู ุฅู† ุงู„
517
00:38:36,460 --> 00:38:38,640
supplier ID ุงู„ู„ูŠ ุจุฏู†ุง ุฅูŠุงู‡ ุงู„ู„ูŠ ุจู†ุญูƒูŠ ุนู†ู‡ ุงู„ู„ูŠ ููŠ
518
00:38:38,640 --> 00:38:41,320
table ุงู„ suppliers ูˆู„ุง ููŠ table ุงู„ orders ุฑู‚ู…
519
00:38:41,320 --> 00:38:44,000
ุงู„ุทุงู„ุจ ุงู„ู„ูŠ ุจู†ุญูƒูŠ ุนู†ู‡ ู‡ูˆ ุฑู‚ู…ู‡ ููŠ ุฌุฏูˆู„ ุงู„ุทู„ุงุจ ูˆู„ุง
520
00:38:44,000 --> 00:38:48,220
ุฑู‚ู…ู‡ ููŠ ุฌุฏูˆู„ ุญุฌุฒ ุงู„ู…ุณุงู‚ุงุช ูˆู„ุง ุฑู‚ู…ู‡ ููŠ ู…ุซู„ุง ูƒุดู
521
00:38:48,220 --> 00:38:52,580
ุงู„ุฎุฑูŠุฌูŠู† ุจุฏูŠ ุฃุนุฑู ุงู„ุฑู‚ู… ู…ู† ูˆูŠู† ุฌุงูŠ ู…ู† ุฃูŠ table ุฃูˆ
522
00:38:52,580 --> 00:38:56,620
ุงู„ุงุณู… ุฌุงูŠ ู…ู† ุฃูŠ table ูุญุณุจ ุงู„ table ุจุญุฏุฏ ุฅู†ู‡
523
00:38:56,620 --> 00:39:01,110
ุงู„ู‚ูŠู…ุฉ ู‡ูŠ null ูˆู„ุง ู…ุด null ููŠ ุดูŠุก ุตุนุจ ููŠ ุงู„ left ูˆ
524
00:39:01,110 --> 00:39:04,030
ุงู„ right ูˆ ุงู„ outer joints ุฅูŠุด ุงุณุชุฎุฏุงู… ู‡ุงู„ุนู…ู„ ุงู„ู„ูŠ
525
00:39:04,030 --> 00:39:06,470
ุนู†ุฏูŠ ุฒูŠ ู…ุง ุญูƒูŠู†ุง ุงู„ุฃู…ุซู„ ุงู„ู„ูŠ ุฃู†ุง ุญูƒูŠุชู‡ุง ุฃู†ุง ุจุฏูŠ
526
00:39:06,470 --> 00:39:11,750
ูƒุดู ุจุงู„ุทู„ุงุจ ู…ุน ุนู„ุงู…ุงุชู‡ู… ุทุจ ููŠ ู†ุงุณ ู…ุง ู‚ุฏู…ุชุด ุงู„ุงู…ุชุญุงู†
527
00:39:11,750 --> 00:39:15,270
ุทุจูŠุนูŠ ุฅู† ุฃู†ุง ุจุฏูŠ ุฃุทู„ุน ุงู„ูƒุดู ุงู„ุงุณู… ูˆ ุงู„ู„ูŠ ู…ุง ู„ู‡ูˆุด
528
00:39:15,270 --> 00:39:21,950
ุนู„ุงู…ุฉ ุชุทู„ุน ุจุฏุงู„ู‡ุง ู†ุธุฑ ุจุฏูŠ ุฃู†ุง ู„ู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ุณุฌู„ู‡ุง
529
00:39:21,950 --> 00:39:25,650
ุงู„ุทุงู„ุจ ูˆ ุนู„ุงู…ุชู‡ ููŠู‡ุง ูˆ ูƒู…ุงู† ุงู„ู…ุณุงู‚ุงุช ุงู„ู„ูŠ ุถุงูŠู„ุฉ
530
00:39:25,650 --> 00:39:29,130
ุนู„ูŠู‡ ุงู„ู„ูŠ ู„ุณู‡ ู…ุง ุณุฌู„ู‡ุงุด ู…ุด ูƒู„ ุทุงู„ุจ ุนู†ุฏู‡ ุฎุทุฉ ูˆ ููŠู‡
531
00:39:29,130 --> 00:39:32,610
ู…ุณุงู‚ุงุช ู„ุงุฒู… ูŠุณุฌู„ู‡ุง ู ุฃู†ุง ุจุฏูŠ ูŠุทู„ุน ุงุณู… ุงู„ุทุงู„ุจ ูˆ ุงุณู…
532
00:39:32,610 --> 00:39:35,330
ุงู„ู…ุณุงู‚ ูˆ ุนู„ุงู…ุชู‡ ูˆ ู…ู…ูƒู† ู…ุง ูŠูƒูˆู† ู„ู‡ูˆุด ุนู„ุงู…ุฉ ู„ุฃู†ู‡ ู„ุณู‡
533
00:39:35,330 --> 00:39:39,530
ู…ุง ุฃุฎุฐุด ุงู„ู…ุณุงู‚ ู ู‡ุฐู‡ ุงู„ุญุงู„ุงุช ุงู„ู„ูŠ ุจูŠูƒูˆู† ููŠู‡ุง ููŠ ุงู„
534
00:39:39,530 --> 00:39:44,250
table ุงู„ุซุงู†ูŠ ู…ุง ููŠุด ู…ู‚ุงุจู„ ุจุญุชุงุฌ ุงู„ left ูˆ ุงู„ right ูˆ
535
00:39:44,250 --> 00:39:51,740
ุงู„ full outer joins ูƒุงู… ุณุงุนุชู†ุง ุธุงู„ ุฏูŠ ุงุชู†ูŠู† ุชู„ุงุชุฉ
536
00:39:51,740 --> 00:39:58,260
ุทูŠุจ ุขุฎุฑ ุดูŠุก ู‡ูŠ ุขุฎุฑ slide ููŠ ู†ูุณ ุงู„ู…ูˆุถูˆุน ููŠ ูƒู„ู…ุฉ
537
00:39:58,260 --> 00:40:01,520
ุตุบูŠุฑุฉ ู…ู…ูƒู† ู†ุถูŠูู‡ุง ุนู„ู‰ ุงู„ outer ูˆ ุงู„ left ูˆ ุงู„
538
00:40:01,520 --> 00:40:04,620
right joint ุงุณู…ู‡ุง natural ุดุงูŠููŠู†ู‡ุง ุงู„ูƒู„ู…ุฉ ู‡ุฐู‡
539
00:40:04,620 --> 00:40:10,800
natural ูƒู„ู…ุฉ natural ู‡ุงูŠ ุจุชุบู†ูŠู†ูŠ ุนู† ุงู„ุดุฑุท ู…ุด ุงุญู†ุง
540
00:40:10,800 --> 00:40:15,720
ูƒู†ุง ู†ุญูƒูŠ ุงู„ุดุฑุท on ูˆ ู†ุญุท ุงู„ู„ูŠ ู‡ูˆ ุงู„ SID ุจูŠุณุงูˆูŠ ุงู„
541
00:40:15,720 --> 00:40:21,390
SID ู…ู† two tables ู…ู…ูƒู† ุฃุณุชุบู†ูŠ ุนู† ุงู„ on ู‡ุฐู‡ ูˆ ุงู„ุดุฑุท
542
00:40:21,390 --> 00:40:25,050
ุจุณ ุจูƒู„ู…ุฉ natural ุทุจ natural ุฅูŠุด ุจุชุนู…ู„ุŸ natural
543
00:40:25,050 --> 00:40:28,410
ุจุชุฑูˆุญ ุชุทู„ุน ุงู„ two tables ูˆ ุงู„ columns ุงู„ู„ูŠ ู„ู‡ู… ู†ูุณ
544
00:40:28,410 --> 00:40:32,650
ุงู„ุงุณู… ุชุนุชุจุฑู‡ู… ู‡ู… ุงู„ุดุฑุท ูŠุนู†ูŠ ููŠ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ุงู„ู„ูŠ
545
00:40:32,650 --> 00:40:36,130
ุนู†ุฏู†ุง supplier ID ููŠ supplier ID ููŠ ุงู„ table
546
00:40:36,130 --> 00:40:40,030
ุงู„ุชุงู†ูŠ ูู„ูˆ ุงุณุชุฎุฏู…ุช ุฃู†ุง natural ู…ุจุงุดุฑุฉ ู‡ูˆ ู„ุญุงู„ู‡
547
00:40:40,030 --> 00:40:44,630
ุจูŠุนู…ู„ ู‡ุฐุง ุงู„ column ุฅู†ู‡ ูŠุณุงูˆูŠ ุงู„ุดุฑุท ูŠูƒูˆู† ุจูŠุณุงูˆูŠ
548
00:40:44,630 --> 00:40:47,930
ู‡ุฐุง ุงู„ column ุทูŠุจ supplier name ููŠ supplier nameุŸ
549
00:40:48,670 --> 00:40:51,970
ู…ุง ููŠุด ุงู„ order date ููŠ order date ููŠ ุงู„ table
550
00:40:51,970 --> 00:40:54,310
ุงู„ุชุงู†ูŠ ุงู„ order ID ููŠ order ID ููŠ ุงู„ table ุงู„ุชุงู†ูŠ
551
00:40:54,310 --> 00:40:58,650
ู„ุฃ ูู…ุนู†ุงุชู‡ ุงู„ุดุฑุท ู‡ูˆ ู…ูŠู† ุงู„ supplier ID ุจูŠุณุงูˆูŠ ุงู„
552
00:40:58,650 --> 00:41:02,030
supplier ID ู„ุญุงู„ู‡ ุจุชุนุฑู ุนู„ู‰ ุงู„ุดุฑุท ู„ุญุงู„ู‡ automatic
553
00:41:02,030 --> 00:41:06,030
ุจุฏูˆู† ู…ุง ู†ุญูƒูŠู„ู‡ ุฅูŠุด ููŠ ุงู„ุดุฑุท ุจุณ ู‡ุฐุง ุจุงู„ุซู„ุงุซู… ู…ู†ู†ุง
554
00:41:06,030 --> 00:41:10,030
ุฅู† ุงุญู†ุง ุฃุตู„ุง ู„ู…ุง ุตู…ู…ู†ุง ุงู„ database ู„ุงุฒู… ูŠูƒูˆู† ุญุทูŠู†ุง
555
00:41:10,030 --> 00:41:14,270
ุงุณู… ุงู„ column ููŠ ุงู„ table ุงู„ุฃูˆู„ ู†ูุณ ุงุณู…ู‡ ู„ูˆ ุงุฎุชู„ู
556
00:41:14,270 --> 00:41:19,450
ุญุฑู ูˆุงุญุฏ ู…ุง ุจุชุนุฑูุด ุนู„ูŠู‡ ุจูŠุตูŠุฑ ู„ุงุฒู… ุงุญู†ุง ู†ูƒุชุจู‡ on ุฃูˆ
557
00:41:19,450 --> 00:41:23,170
where ูˆ ู†ุญุท ุงู„ุดุฑุท ุจุฅูŠุฏู†ุง ุงุญู†ุง ู†ูƒุชุจู‡ ุฅุฐุง ุจูŠุณุชุฎุฏู…
558
00:41:23,170 --> 00:41:27,450
ูƒู„ู…ุฉ natural ู„ู„ join ู„ุงุฒู… ุงุณู… ุงู„ column ููŠ ุงู„ two
559
00:41:27,450 --> 00:41:31,870
tables ูŠูƒูˆู† ู…ูˆุญุฏ ู…ุชุทุงุจู‚ 100% ู‡ุฐู‡ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏูŠ
560
00:41:31,870 --> 00:41:34,690
ุนู„ู‰ ุงู„ tables ุงู„ู„ูŠ ู…ุนู†ุงู‡ ุชุงุนุฉ ุงู„ sailors ูˆ ุงู„
561
00:41:34,690 --> 00:41:39,850
boatsู„ูˆ ุฃู†ุง ุนู…ู„ุช ุงู„ู„ูŠ ู‡ูŠ select ุงู„ SID ูˆ ุงู„ BID
562
00:41:39,850 --> 00:41:43,470
ุฑู‚ู… ุงู„ุจุญุฑ ูˆ ุฑู‚ู… ุงู„ู…ุฑูƒุจ ุงู„ู„ูŠ ุญุฌุฒู‡ ู…ู† ุงู„ two tables
563
00:41:43,470 --> 00:41:46,830
ุงู„ sailors ูˆ ุงู„ reserves left outer join ุนู…ู„ุชู‡ ุฒูŠ
564
00:41:46,830 --> 00:41:48,730
ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู…ู„ุชู‡ ุงู„ุขู† ุนู„ู‰ ุงู„ุฃูˆุฑุงู‚ ุงู„ู„ูŠ ู‡ูˆ ู†ูุณ
565
00:41:48,730 --> 00:41:53,530
ุงู„ู…ุซุงู„ on ุงู„ุดุฑุท ุฃู† ุงู„ SID ููŠ table ุงู„ sailors
566
00:41:53,530 --> 00:41:57,930
ุจุชุณุงูˆูŠ ุงู„ RSID ููŠ table ุงู„ reserves ู„ุงุญุธูˆุง ุฃุณู…ุงุก
567
00:41:57,930 --> 00:42:01,610
ุงู„ูƒูˆู„ูˆู…ุฒ ุฒูŠ ุจุนุถ ูุงู†ุง ู…ู…ูƒู† ุจุฏู„ ู…ุง ุฃุญุท ุงู„ุดุฑุท ุฃูƒุชุจ
568
00:42:01,610 --> 00:42:06,750
natural ุฒูŠ ู‡ูŠูƒ select from sailors ุจุฏู„ left outer
569
00:42:06,750 --> 00:42:11,410
join ุจูƒุชุจ natural left outer join ูˆู…ุง ููŠุด ุฏุงุนูŠ ุฃูƒุชุจ
570
00:42:11,410 --> 00:42:16,870
ุงู„ุดุฑุท ู„ุฃู† ุงู„ two columns SID ูˆ SID ู…ุนุฑูˆููŠู† ู„ุญุงู„ู‡ู…
571
00:42:16,870 --> 00:42:21,710
ู…ูˆ ู„ุญุงู„ู‡ ู‡ูŠุฑูˆุญ ูŠุญุณุจู‡ู… ู‡ูŠุนุทูŠู†ูŠ ู†ูุณ ุงู„ result ู†ูุณ
572
00:42:21,710 --> 00:42:26,330
ุงู„ู†ุชูŠุฌุฉ ู‡ุงูŠ ุงู„ query ูˆ ู‡ุงูŠ ู†ูุณ ุงู„ู†ุชูŠุฌุฉ ู‡ุงูŠ ูƒุชุจุช
573
00:42:26,330 --> 00:42:31,280
ุฃู†ุง ููŠู‡ุง ุงู„ุดุฑุท ู‡ุงูŠ ู…ุง ูƒุชุจุชูˆุด ุงุนุชู…ุฏ ุนู„ู‰ ูƒู„ู…ุฉ natural
574
00:42:31,280 --> 00:42:35,820
ุนุดุงู† ูŠุทู„ุน ุงู„ุดุฑุท ู„ุญุงู„ู‡ ุฏู‡ ุณุฃู„ ุงู„ุณุคุงู„ ุขุฎุฑ ู…ุฑุฉ
575
00:42:35,820 --> 00:42:42,340
natural ูƒูŠู ุชุนุฑู ุงู„ุดุฑุท ู„ุญุงู„ู‡ุง ุงู„ column ู†ูุณู‡ ููŠ
576
00:42:42,340 --> 00:42:47,600
ุงู„ุฌุฏูˆู„ูŠู† ุจู†ูุณ ุงู„ุงุณู… ุฅุฐุง ุงุฎุชู„ู ุญุฑู ู…ุด ู‡ุชุนุชุจุฑ ููŠู‡ ู…ุด
577
00:42:47,600 --> 00:42:52,160
ู‡ุชุทู„ุน ุนู„ูŠู‡ ูˆุถุญูƒุชุŸ ู‡ูŠูƒ ุงุญู†ุง ุจู†ูƒูˆู† ุฎู„ุตู†ุง ู…ูˆุถูˆุน ุงู„
578
00:42:52,160 --> 00:42:55,420
joins ูˆ ุงู„ู…ุฑุฉ ุงู„ุฌุงูŠ ุฅู† ุดุงุก ุงู„ู„ู‡ ุจู†ูƒูˆู† ุฎู„ุตู†ุง