abdullah's picture
Add files using upload-large-folder tool
8f7bb8d verified
raw
history blame
41.4 kB
1
00:00:20,200 --> 00:00:23,640
ุงุญู†ุง ุงู„ู…ุฑุฉ ุงู„ู…ุงุถูŠุฉ ูˆุตู„ู†ุง ู„ุนู†ุฏ ุงู„ู€ example ุงู„ู„ูŠ ุงุญู†ุง
2
00:00:23,640 --> 00:00:27,920
ุดุงูŠููŠู†ู‡ ุงู„ู„ูŠ ู‡ูˆ ุนุจุงุฑุฉ ุนู† nested query ู…ุน ุงู„ู€ group
3
00:00:27,920 --> 00:00:31,260
by ูˆุงู„ู€ aggregate functions ุงู„ูุฑู‚ ุจูŠู† ุงู„ู…ุซุงู„ ู‡ุฐุง
4
00:00:31,260 --> 00:00:35,480
ูˆุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ูƒุงู†ุช ุงู„ู€ having ุจู‚ุงุฑู†
5
00:00:35,480 --> 00:00:39,040
ูƒู†ุช ููŠู‡ุง ุงู„ู€ count star ุฃู†ู‡ุง ุชูƒูˆู† ุฃูƒุจุฑ ู…ู† ูˆุงุญุฏ ุฅูŠุด
6
00:00:39,040 --> 00:00:41,580
ูŠุนู†ูŠ ุงู„ู€ having ุงู„ู€ count star ุฃูƒุจุฑ ู…ู† ูˆุงุญุฏ ูŠุนู†ูŠ ูƒู„
7
00:00:41,580 --> 00:00:46,740
group ุงุญู†ุง ุนู…ู„ู†ุงู‡ุง ููŠ ุงู„ู€ group by ุจุฏู†ุง ุฅูŠุงู‡ุง ูŠูƒูˆู†
8
00:00:46,740 --> 00:00:52,070
ุนุฏุฏ ุงู„ู€ rows ุงู„ู„ูŠ ููŠู‡ุง ุฃูƒุจุฑ ู…ู† ูˆุงุญุฏ ูŠุนู†ูŠ ุฅุฐุง ูƒุงู† ุนุฏุฏ
9
00:00:52,070 --> 00:00:59,550
ุงู„ู€ rows zero or one ู…ุงุจุฏูŠู‡ุง ุงู„ู†ุชูŠุฌุฉ force ู…ุงุจุฏูŠ ุงู„ู€
10
00:00:59,550 --> 00:01:04,750
group ู‡ุฐู‡ ุงู„ุขู† ุงู„ุงุฎุชู„ุงู ุนู†ุฏูŠ ููŠ ุงู„ู…ุซุงู„ ู‡ุฐุง ุฃู†ู‡ ุฃู†ุง
11
00:01:04,750 --> 00:01:11,970
ุจุฏูŠ ุงู„ู€ group ุงู„ู€ count ุชุจุนู‡ุง ู…ุงุจุฏูŠ ุฃุนุฏ ุจุณ ุงู„ู€
12
00:01:11,970 --> 00:01:15,890
sailors ุงู„ู„ูŠ ุนู…ุฑู‡ู… ุฃูƒุจุฑ ู…ู† 18 ุจุฏูŠ ุฃุนุฏ ูƒู„ ุงู„ู€
13
00:01:15,890 --> 00:01:20,440
sailors ุญุชู‰ ู„ูˆ ูƒุงู† ุนู…ุฑู‡ู… ุฃู‚ู„ ู…ู† 18 ู„ูˆ ุงุณุชุฎุฏู…ู†ุง
14
00:01:20,440 --> 00:01:24,920
ุงู„ุทุฑูŠู‚ุฉ ุงู„ุฃูˆู„ู‰ ุทุฑูŠู‚ุฉ ุงู„ุฃูˆู„ู‰ ู‡ูŠุทุจู‚ ุงู„ู€ count star
15
00:01:24,920 --> 00:01:31,360
ุนู„ู‰ ู†ุชุงุฆุฌ ุงู„ู€ query ู‡ุงูŠ ุงู„ู„ูŠ ููŠู‡ุง ุงู„ุดุฑุท ุฃู†ู‡ ุฃูƒุจุฑ ู…ู† 18
16
00:01:31,360 --> 00:01:35,900
ูƒูŠู ุชุชุบู„ุจ ุนู„ู‰ ุงู„ู…ุนุถู„ุฉ ู‡ุงูŠุŸ ุงู„ุญู„ ุฃู† ุฃุฑูˆุญ ุฃุนู…ู„ query
17
00:01:35,900 --> 00:01:40,900
ุซุงู†ูŠุฉ ุดุจูŠู‡ุฉ ููŠ ุงู„ุฃูˆู„ู‰ ุจุฏูˆู† ุงู„ุดุฑุท ู‡ุฐุง ุงู„ู€ where ูˆ
18
00:01:40,900 --> 00:01:44,020
ุงุญุณุจ ููŠู‡ุง ุงู„ู€ count ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฅูŠุงู‡ุง ูู‡ูŠ ุงู„ู„ูŠ ุนู…ู„ู†ุงู‡ุง
19
00:01:44,020 --> 00:01:48,560
ุนู…ู„ู†ุง ู†ูุณ ุงู„ู€ query ู‡ุงูŠ select count star from
20
00:01:48,560 --> 00:01:52,320
sailors ู…ุงููŠ ุดุฑุท ุงู„ู€ wear ุงู„ู€ sh ุฃูƒุจุฑ ู…ู† 18 ุจุฏูˆู† ู‡ุฐุง
21
00:01:52,320 --> 00:01:57,160
ุงู„ุดุฑุท ูˆุนุดุงู† ุฃุถู…ู† ุฃู† ุงู„ู€ rating ุงู„ู„ูŠ ุฃู†ุง ุจุนุฏู„ู‡ ุงู„ู€
22
00:01:57,160 --> 00:01:59,220
count ู‡ูˆ ู†ูุณ ุงู„ู€ rating ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ query
23
00:01:59,220 --> 00:02:03,320
ุงู„ุฃุตู„ูŠุฉ ุนู…ู„ู†ุง correlation ุฐุงูƒุฑูŠู† ุงู„ู€ correlationุŸ
24
00:02:03,320 --> 00:02:05,640
ุฐุงูƒุฑูŠู† ู„ู…ุง ุญูƒูŠู†ุง ุฅูŠุด ูŠุนู†ูŠ correlation ููŠ ู†ูุณ ุงู„ู€
25
00:02:05,640 --> 00:02:12,940
queriesุŸ ุฅูŠุด ูŠุนู†ูŠ correlation ููŠ ู†ูุณ ุงู„ู€ queriesุŸ
26
00:02:12,940 --> 00:02:18,430
ุฃุฎุฏู†ุงู‡ ููŠ ุงู„ุดุชุฑ ู‡ุฐู‡ ุญูƒูŠู†ุง ุทุจ ุฅูŠุด ุนู† nested queriesุŸ
27
00:02:18,430 --> 00:02:21,390
ุฃุตู„ ุฅูŠุด ุนู† nested queriesุŸ ุงู„ู€ query ุฌูˆู‡ุง query
28
00:02:21,390 --> 00:02:24,730
ุญูƒูŠู†ุง ุงู„ู€ correlation ุฅู†ู‡ ุงู„ู€ nested query ุงู„ู„ูŠ ุฌูˆุง
29
00:02:24,730 --> 00:02:28,650
ู‡ูŠ ุงู„ู€ sub query ุงู„ู„ูŠ ุฌูˆุง ูŠูƒูˆู† ููŠู‡ุง variable ู…ู† ุจุฑุง
30
00:02:28,650 --> 00:02:31,350
ูุงุญู†ุง ู‡ูŠูˆ ุงู„ู€ variable ู…ู† ุจุฑุง ุงู„ู€ S rating ุจูŠุณุงูˆูŠ ุงู„ู€
31
00:02:31,350 --> 00:02:34,830
S2 rating ุงู„ู€ S2 rating ู…ู† ูˆูŠู† ุฌุงูŠุฉุŸ ู…ู† ุฃูŠ queryุŸ
32
00:02:34,830 --> 00:02:38,870
ู…ู† ุงู„ุชุงู†ูŠุฉ ู‡ุงูŠ sailors S2 ู‡ุงูŠ ู…ู† ุงู„ุชุงู†ูŠุฉ ุจูŠู†ู…ุง ุงู„ู€
33
00:02:38,870 --> 00:02:44,310
S dot rating ู…ู† ูˆูŠู† ุฌุงูŠุฉุŸ ู…ู† ุงู„ุฃูˆู„ู‰ ุณู…ูŠู†ุง ู‡ุฐุง ุงู„ู€ ..
34
00:02:44,310 --> 00:02:49,270
ุฃู† ุฃุฑุจุท variable ุฃูˆ ูƒูˆู„ูˆู… ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ parent ููŠ ุงู„ู€
35
00:02:49,270 --> 00:02:52,710
main query ุฃุฑุจุทู‡ ู…ุน ุงู„ู€ sub query ุณู…ูŠู†ุง ุงู„ุนู„ุงู‚ุฉ
36
00:02:52,710 --> 00:02:56,370
correlation ุฃู† ุฃุฑุจุท ุงู„ู€ two queries ู…ุน ุจุนุถ ูุงุญู†ุง
37
00:02:56,370 --> 00:03:00,050
ุฑุจุทู†ุงู‡ู… ู…ุน ุจุนุถ ู‡ุฐุง ุงู„ุดุฑุท ุฅูŠุด ุจุชู…ู†ู„ูŠุŸ ุจุชู…ู†ู„ูŠ ุฃู† ุงู„ู€
38
00:03:00,050 --> 00:03:02,550
rating ุงู„ู„ูŠ ุฃู†ุง ุจุญุณุจู‡ ุงู„ู€ count ููŠ ุงู„ู€ sub query
39
00:03:02,550 --> 00:03:07,550
ู‡ุฐู‡ ู‡ูˆ ู†ูุณ ุงู„ู€ rating ุงู„ู„ูŠ ุฃู†ุง ุจุฏูŠ ุฅูŠุงู‡ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุจุฑุง
40
00:03:08,760 --> 00:03:13,080
ูุฃู†ุง ู‡ุนุฏ ุนุฏุฏ ุงู„ู€ sailors ุงู„ู„ูŠ ู…ู† ู†ูุณ ุงู„ู€ rating ุจุบุถ
41
00:03:13,080 --> 00:03:19,840
ุงู„ู†ุธุฑ ุนู† ุนู…ุฑู‡ู… ุจุฏูŠ ุฃุฑูƒุฒ ุจุณ ููŠ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ุนู„ู‰
42
00:03:19,840 --> 00:03:24,120
ุงู„ู€ sailors ุงู„ู„ูŠ ุงู„ู€ rating ุชุจุนู‡ู… ุนุดุฑุฉ sailors ุงู„ู„ูŠ
43
00:03:24,120 --> 00:03:26,220
ุงู„ู€ rating ุชุจุนู‡ู… ุนุดุฑุฉ ุทู„ุนูˆุง ุนู„ู‰ ุงู„ู€ example ุงู„ู„ูŠ
44
00:03:26,220 --> 00:03:30,180
ุนู†ุฏูƒู… ุงู„ู€ sailors ุงู„ู„ูŠ ุงู„ู€ rating ุชุจุนู‡ู… ุนุดุฑุฉ ูƒู… ูˆุงุญุฏ
45
00:03:30,180 --> 00:03:37,250
ุงุชู†ูŠู† ูˆุงุญุฏ ูƒู… ุนู…ุฑู‡ ุงู„ุฃูˆู„ุŸ ููŠ ูˆุงุญุฏ ุนู…ุฑู‡ 16 ูˆููŠ ูˆุงุญุฏ
46
00:03:37,250 --> 00:03:44,390
ุจุฑุถู‡ rating ุนุดุฑุฉ ูƒู… ุนู…ุฑู‡ุŸ 35 ุงู„ุนู…ุฑ 16 ููŠ ุงู„ู€ query
47
00:03:44,390 --> 00:03:49,030
ุงู„ุฃูˆู„ู‰ ู„ุฃู† ุงู„ู€ age ุชุจุนู‡ ู…ุด ุฃูƒุจุฑ ู…ู† 18 ู…ุด ู‡ูŠุฏุฎู„ ููŠ
48
00:03:49,030 --> 00:03:52,350
ุงู„ู€ query ู‡ุงูŠ ุงู„ู€ query ู‡ูŠุด ุจุฏู‡ุง ุจุฏู‡ุง ุงู„ู€ minimum age
49
00:03:52,350 --> 00:03:59,230
ูุงู„ู€ age ุชุจุนู‡ ู‡ุฐุง ุนู…ุฑู‡ 16 ู…ุด ู‡ุญุณุจู‡ ููŠ ุงู„ู€ minimum
50
00:03:59,230 --> 00:04:04,600
age ู„ูƒู† ู‡ุญุณุจู‡ ูˆูŠู†ุŸ ู‡ุญุณุจู‡ ููŠ ุงู„ู€ counter ู„ุฃู† ู…ุงููŠ
51
00:04:04,600 --> 00:04:10,260
ุนู†ุฏูŠ ุดุฑุท ุฃู† ุงู„ู€ wear age ุฃูƒุจุฑ ู…ู† 18 ูู„ู…ุง ุฃุญุงุฌูŠ ุฃุนู…ู„
52
00:04:10,260 --> 00:04:16,340
ู„ู€ groups group by ุญุณุจ ุงู„ู€ rating ุชุนุงู„ ู†ุดูˆู ุฅูŠุด ุงู„ู€
53
00:04:16,340 --> 00:04:20,420
groups ุงู„ู„ูŠ ุญุฏุซ ู…ู† ุงู„ุฌุฏูˆู„ ุงู„ู„ูŠ ุนู†ุฏูŠ ู‡ุนู…ู„ ู„ู€ groups
54
00:04:20,420 --> 00:04:25,640
ุงู„ู…ุฑุฉ ู‡ุฐู‡ ุงู„ู€ group ุจุณ ุณุงุนุฉ ุงู„ุนุดุฑุฉ ู‡ูŠูƒูˆู† ููŠู‡ุง ูƒู…ุงู†
55
00:04:26,710 --> 00:04:31,870
ุฒูŠ ู…ุง ู‡ูŠ 35 ููŠู‡ุง ุจุณ ูˆุงุญุฏ ู„ุฃู† ุงู„ุดุฑุท ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ู€
56
00:04:31,870 --> 00:04:37,190
age 16 ู…ุงุจุฏูŠุด ุฅูŠุงู‡ ุจุฏูŠ ุฃู†ุง ุงู„ู€ age ุฃูƒุจุฑ ู…ู† 18 ูู‡ูŠ
57
00:04:37,190 --> 00:04:41,190
ุงู„ู€ groups ุงู„ุขู† ุงู„ู€ groups ู‡ุฐู‡ ู„ู…ุง ุฑุญู†ุง ูุฑุฒู†ุงู‡ู… ููŠ
58
00:04:41,190 --> 00:04:45,310
ุงู„ู€ having ุงู„ู…ุฑุฉ ุงู„ุฃูˆู„ู‰ ุทู„ุนู†ุง ุจุณ ุงู„ุชู„ุงุชุฉ ูˆุงู„ุณุจุนุฉ
59
00:04:45,310 --> 00:04:49,090
ูˆุงู„ุชู…ุงู†ูŠุฉ ุนู„ู‰ ุฃุณุงุณ ุฃู† ุงู„ุชู„ุงุชุฉ ููŠู‡ุง ุชู„ุงุชุฉ sailors
60
00:04:49,090 --> 00:04:52,700
ูˆุงู„ุณุจุนุฉ ููŠู‡ุง ุงุชู†ูŠู† ูˆุงู„ุชู…ุงู†ูŠุฉ ููŠู‡ุง ุงุชู†ูŠู† ู„ูƒู† ุงู„ู…ุฑุฉ
61
00:04:52,700 --> 00:04:55,380
ู‡ุฐู‡ ุงู„ู€ count ู…ุง ุงุณุชุฎุฏู…ุชุด ุงู„ู€ count ุงู„ู„ูŠ ุนุงุฏูŠ ุฑูˆุญุช
62
00:04:55,380 --> 00:04:58,920
ุนู…ู„ุช query ุชุงู†ูŠุฉ ู„ู„ู€ count ููŠ ุงู„ู€ query ุงู„ุชุงู†ูŠุฉ ุงู„ู„ูŠ
63
00:04:58,920 --> 00:05:02,020
ุนู…ุฑู‡ 16 ู‡ุฐุง ู‡ูŠูƒูˆู† ู…ูˆุฌูˆุฏ ู…ุน ุงู„ุนุดุฑุฉ ู‡ูŠูƒูˆู†ู‡ ุงุชู†ูŠู†
64
00:05:02,020 --> 00:05:08,160
ูู‡ุชุทู„ุน ุงู„ู€ group ุจุชุงุนุฉ ุงู„ุนุดุฑุฉ ูƒู…ุงู† ู„ูƒู† ูƒู… ุงู„ู€
65
00:05:08,160 --> 00:05:14,040
minimum age ู‡ูŠูƒูˆู† ุฌู†ุจู‡ุง ู‡ุฐู‡ ุงู„ู„ูŠ ุนู…ุฑู‡ู… ุนุดุฑุฉ ูˆุงุญุฏ
66
00:05:14,040 --> 00:05:18,550
ุณุชุงุด ูˆูˆุงุญุฏ ุฎู…ุณุฉ ูˆ ุชู„ุงุชูŠู† ูƒู… ุงู„ู€ minimum ageุŸ ุฎู…ุณุฉ ูˆ
67
00:05:18,550 --> 00:05:22,510
ุชู„ุงุชูŠู† ุทุจ ู…ุด ุงู„ุณุชุงุด ุฃุตุบุฑุŸ ุงู„ุณุชุงุด ุฃุตุบุฑ ู„ูƒู† ุงู„ุณุชุงุด
68
00:05:22,510 --> 00:05:25,830
ู…ุญุฐูˆู ููŠ ุงู„ู€ query ุงู„ุฃูˆู„ู‰ ุงู„ู„ูŠ ุจุชุทู„ุน ุงู„ู€ minimum age
69
00:05:25,830 --> 00:05:31,910
ู…ุญุฐูˆู ูู‡ูŠุนุทูŠู†ุง ุงู„ุนุดุฑุฉ ุจู‚ุงู„ู‡ุง ุฎู…ุณุฉ ูˆ ุชู„ุงุชูŠู† ู†ุฌุฑุจ
70
00:05:31,910 --> 00:05:44,130
ุงู„ูƒู„ุงู… ู‡ุฐุง ุนู…ู„ูŠ ุนุดุงู† ุชุชุถุญ ุงู„ุตูˆุฑุฉ ุนู†ุฏู†ุง ู‡ุงูŠ
71
00:05:44,130 --> 00:05:45,990
ู†ูุณ ุงู„ู€ query ุงู„ู„ูŠ ูƒุงู†ุช ู…ุทู„ูˆุจุฉ ู…ุนู†ุง
72
00:05:50,930 --> 00:05:55,590
ู‡ุฐู‡ ู†ูุณ ุงู„ู€ query ุทู„ุจู†ุง ุงู„ู€ rating ุทู„ุจู†ุง ุงู„ู€ rating
73
00:05:55,590 --> 00:06:00,570
ูˆุทู„ุจู†ุง ุงู„ู€ minimum age ุงู„ู€
74
00:06:00,570 --> 00:06:04,790
minimum age aggregate function ุนุดุงู† ุชุธู‡ุฑ ุนู†ุฏูŠ
75
00:06:04,790 --> 00:06:07,710
ุฌู†ุจู‡ุง ุงู„ู€ rating ู„ุงุฒู… ุงู„ู€ rating ุฃุญุทู‡ุง ูˆูŠู†ุŸ ููŠ ุงู„ู€
76
00:06:07,710 --> 00:06:09,670
group by ู‡ูŠ ู…ูˆุฌูˆุฏุฉ ููŠ ุงู„ู€ group by group by ุงู„ู€
77
00:06:09,670 --> 00:06:13,530
rating ูˆู‡ูŠ ุงู„ุดุฑุท ุงู„ู„ูŠ ุญูƒูŠู†ุง ุนู†ู‡ ุงู„ู€ S age ุฃูƒุจุฑ ู…ู†
78
00:06:13,530 --> 00:06:17,540
ุงู„ู€ 18 ุณู†ุฉ ูˆุฑูˆุญู†ุง ุนู…ู„ู†ุง ุงู„ู€ selected ุชุงู†ูŠ ุงู„ู„ูŠ ู‡ูŠ
79
00:06:17,540 --> 00:06:21,220
ุจุชุนู…ู„ count ู„ู„ู€ sailors ุจุฏูˆู† ุดุฑุท ูˆุจุณ ุฑุจุทู†ุง ุฃู† ุงู„ู€
80
00:06:21,220 --> 00:06:24,080
rating ุงู„ู„ูŠ ุจู†ุง ู†ุนุฏู‡ ู„ุงุฒู… ูŠูƒูˆู† ู†ูุณ ุงู„ู€ rating ุงู„ู„ูŠ
81
00:06:24,080 --> 00:06:27,920
ููˆู‚ ุนุดุงู† ู†ุนุฏ ู„ูƒู„ group ู„ุญุงู„ู†ุง ุงู„ู†ุชูŠุฌุฉ ุงู„ู„ูŠ ุทู„ุนุช
82
00:06:27,920 --> 00:06:33,580
ุนู†ุง ุฅู†ู‡ู… ุตุงุฑูˆุง ุฃุฑุจุน groups ู…ุด ุชู„ุงุชุฉ ุงู„ุนุดุฑุฉ ูˆุงู„ุณุจุนุฉ
83
00:06:33,580 --> 00:06:36,480
ูˆุงู„ุชู„ุงุชุฉ ูˆุงู„ุชู…ุงู†ูŠุฉ ูˆุงู„ู€ minimum age ููŠ ุงู„ุนุดุฑุฉ ู…ุด
84
00:06:36,480 --> 00:06:41,440
ุณุชุงุด ู…ุด ุณุชุงุด ุงู„ู€ minimum age ุงู„ู€ minimum age ุฎู…ุณุฉ
85
00:06:41,440 --> 00:06:45,830
ูˆุชู„ุงุชูŠู† ู‡ูƒุฐุง ู†ุญู† ุจู†ูƒูˆู† ุฃุนุทูŠู†ุง ู…ุซุงู„ ุนู„ู‰ ุงู„ู€ nested
86
00:06:45,830 --> 00:06:51,050
queries ู…ุน ุงู„ู€ aggregate functions ูˆุงู„ู€ group by
87
00:06:51,050 --> 00:06:55,970
ุงู„ุขู† ู„ูˆ ุทู„ุจ ู…ู†ูŠ ุฃู† ุฃูˆุฌุฏ ุงู„ู€ name ูˆุงู„ู€ age of the
88
00:06:55,970 --> 00:07:00,910
oldest sailor ุฃูƒุจุฑ ูˆุงุญุฏ ููŠ ุงู„ุนู…ุฑุŒ ุจุฏูŠ ุฃูˆุฌุฏ ุงุณู…ู‡ุŒ
89
00:07:00,910 --> 00:07:04,970
ู…ุด ูู‚ุท ุจุฏูŠ ุฃูˆุฌุฏ ุนู…ุฑู‡ุŒ ุฏู‡ ูˆุฌุฏ ุงุณู…ู‡ ู„ุฃู† ู„ูˆ ุจุฏูŠ ุจุณ ุนู…ุฑู‡
90
00:07:04,970 --> 00:07:08,910
ุฅูŠุด ู‡ุนู…ู„ุŸ ุงู„ู€ oldestุŒ oldest ูŠุนู†ูŠ ุฅูŠุด ุจุฏูŠุŸ max ูˆู„ุง
91
00:07:08,910 --> 00:07:15,230
min ูˆู„ุง sumุŸ ู‡ู†ุฌูŠุจ max ู„ู…ูŠู†ุŸ ู„ู„ู€ S dot H ู‡ุงูŠ ุฅูŠุด
92
00:07:15,230 --> 00:07:22,030
ู‡ุชุฑุฌุนู„ูŠุŸ ุฃูƒุจุฑ ุนู…ุฑ ู„ูƒู† ูƒูŠู ุจุฏูŠ ุฃุนุฑู ุงุณู… ุตุงุญุจ ุฃูƒุจุฑ
93
00:07:22,030 --> 00:07:27,810
ุนู…ุฑุŸ ุฃุญุท ู‡ูˆูŠู†ุŸ
94
00:07:29,380 --> 00:07:32,440
ููŠ ุงู„ู€ where nested ู…ู† ุงู„ู€ example ุงู„ู„ูŠ ู„ู‡ุง ุทูŠุจ ู…ุงุดูŠ
95
00:07:32,440 --> 00:07:37,480
ุงู„ุขู† ููƒุฑุฉ ุฃู†ูŠ ุขุฌูŠ ุฃุนู…ู„ ุงู„ููƒุฑุฉ ุงู„ุจุฏูŠู‡ูŠุฉ ุงู„ููƒุฑุฉ
96
00:07:37,480 --> 00:07:40,560
ุงู„ุจุฏูŠู‡ูŠุฉ ุงู„ู„ูŠ ุจุชุชุจุงุฏุฑ ู„ู„ุฐู‡ู† ุฃูˆู„ ุดูŠุก ุฃู†ูŠ ุฃุนู…ู„
97
00:07:40,560 --> 00:07:44,140
select ุงู„ุงุณู… ู…ุน ุงู„ู€ max age from sailors ุงู„ูƒู„ุงู…
98
00:07:44,140 --> 00:07:49,920
ู‡ุฐุง ู…ุด ู‡ูŠุดุชุบู„ ู„ูŠุดุŸ ู‡ุฐุง illegal ู„ูŠุด illegalุŸ ู„ุฃู† ุงู„ู€
99
00:07:49,920 --> 00:07:52,380
name ู…ุงุจู†ูุนุด ุฃุญุทู‡ ู…ุน aggregate function ุฅู„ุง ุฅุฐุง
100
00:07:52,380 --> 00:07:56,400
ูƒุงู† ููŠ group by ุทุจ ู„ูˆ ุฃู†ุง ุนู…ู„ุช group by ุญุณุจ ุงู„ุงุณู…
101
00:07:56,400 --> 00:08:01,560
ู…ุนู†ุงุชู‡ ู‡ูŠุนู…ู„ ู…ุฌู…ูˆุนุงุช ูˆูŠุฌูŠุจู„ูŠ ุงู„ู€ max age ู…ุด ู…ู† ูƒู„
102
00:08:01,560 --> 00:08:05,720
ุงู„ุฌุฏูˆู„ ุงู„ู€ max age ู…ู† ูƒู„ ู…ุฌู…ูˆุนุฉ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ู‚ุจู„
103
00:08:05,720 --> 00:08:08,500
ุดูˆูŠุฉ ุงู„ู„ูŠ ูƒุงู† ุทู„ุนู„ูŠ ูƒุงู† ุทู„ุนู„ูŠ ุงู„ุนุดุฑุฉ ุฎู…ุณุฉ ูˆ ุชู„ุงุชูŠู†
104
00:08:08,500 --> 00:08:11,780
ุงู„ุณุจุนุฉ ุงู„ุชู…ุงู†ูŠุฉ ูŠุนู†ูŠ ู‡ูˆ ุฃุนุทุงู†ูŠ ุงู„ู€ minimum ููŠ
105
00:08:11,780 --> 00:08:15,420
ุงู„ู…ุซุงู„ ุงู„ุณุงุจู‚ ุฃุนุทุงู†ูŠ ุงู„ู€ minimum ููŠ ูƒู„ group ู ุฃู†ุง ู„ูˆ
106
00:08:15,420 --> 00:08:19,500
ุนู…ู„ุช group by name ุจุฑุถู‡ ู…ุด ู‡ุญู„ ุงู„ู…ุดูƒู„ุฉ ู„ุฃู†ู‡ ู‡ูŠุตูŠุฑ
107
00:08:19,500 --> 00:08:24,900
ูŠุนุทูŠู†ูŠ ุงู„ู€ max ููŠ ูƒู„ group ุงู„ุญู„ ุฃู†ู‡ ุจุฑุถู‡ ุจุฏู†ุง ูƒู…ุงู†
108
00:08:24,900 --> 00:08:30,980
query ุงู„ู€ query ุชุทู„ุน ุงู„ู€ maximum age ูˆุจุนุฏูŠู† ุฃู‚ุงุฑู†ู‡
109
00:08:30,980 --> 00:08:37,040
ู…ุน ุฃุนู…ุงุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏูŠู† ุนู†ุฏูŠ ููŠ ุงู„ุฌุฏูˆู„ ูˆุจุนุฑู ู„ู…ูŠู†
110
00:08:37,040 --> 00:08:42,730
ุฅูŠุด ุงุณู…ู‡ ูู‡ู†ุนู…ู„ select ุงู„ู€ max age ู‡ูŠ select ุงู„ู€ max
111
00:08:42,730 --> 00:08:46,430
age from sailors ุทู„ุนู†ุง ุงู„ู€ maximum age ุนุฑูู†ุงู‡
112
00:08:46,430 --> 00:08:51,590
ู‡ู‚ุงุฑู†ู‡ where ุจุฏู‡ ูŠุทู„ุน ุงู„ุจุญุงุฑ ุงุณู…ู‡ ูˆุนู…ุฑู‡ ุจุญูŠุซ ุฃู†ู‡
113
00:08:51,590 --> 00:08:57,350
ูŠูƒูˆู† ุนู…ุฑู‡ ู‡ูˆ ู†ูุณ ุฃุนู„ู‰ ุนู…ุฑ ููŠ ุงู„ุฌุฏูˆู„ ุงุญู†ุง .. ุงุญู†ุง
114
00:08:57,350 --> 00:09:00,890
ูƒุจุดุฑ ู…ุด ูƒูƒู…ุจูŠูˆุชุฑ ู„ู…ุง ุจู†ูŠุฌูŠ ุจู†ุญูƒูŠ ุจุฏู†ุง ููŠ ุงู„ุฌุฏูˆู„
115
00:09:00,890 --> 00:09:04,270
ุงู„ู„ูŠ ุนู†ุฏู†ุง ุงุณู… ุฃูƒุจุฑ ูˆุงุญุฏ ุจู†ุจุฏุฃ ู†ุทู„ุน ุงู„ุงุณู…ุงุก ูˆู„ุง
116
00:09:04,270 --> 00:09:08,390
ุจู†ุจุฏุฃ ู†ุทู„ุน ุงู„ุงุนู…ุงุฑุŸ ู†ูุณ ุงู„ุดูŠุก ุจู†ุทู„ุน ุงู„ุงุนู…ุงุฑ ุจู†ุทู„ุน
117
00:09:08,390 --> 00:09:13,470
ุฃูƒุจุฑ ุนู…ุฑ ุจุงู„ุฑูˆุญ ู†ุดูˆู ุฅูŠุด ุงู„ุงุณู… ุงู„ู…ู‚ุงุจู„ ู„ู‡ ู†ูุณ ุงู„ููƒุฑุฉ
118
00:09:13,470 --> 00:09:16,510
ูุงู„ู€ query ู‡ุงูŠ ู„ูˆ ูƒุชุจู†ุงู‡ุง ู…ุจุงุดุฑุฉ ู‡ุชุนุทูŠู†ูŠ error
119
00:09:16,510 --> 00:09:20,950
ู…ุงููŠุด ุฏุงุนูŠ ุฃู† ุฃุฌุฑุจู‡ุง ู‡ุชุนุทูŠู†ูŠ error ู„ุฃู†ู‡ุง ู…ุด ู…ูˆุฌูˆุฏุฉ
120
00:09:20,950 --> 00:09:23,930
ููŠ group by ู„ูˆ ุฃู†ุง ุนู…ู„ุช group by ุนุดุงู† ุฃุญู„ ุงู„ู€ error
121
00:09:23,930 --> 00:09:27,190
ุงู„ุงูˆุฑุงู‚ ุงู„ู„ูŠ ู…ุด ู‡ุชุนุทูŠู†ูŠ error ู„ูƒู† ู†ุชูŠุฌุฉ ู…ุด ุงู„ู„ูŠ
122
00:09:27,190 --> 00:09:31,830
ุฃู†ุง ุจุฏูŠ ุฅูŠุงู‡ุง ู‡ูŠุนุทูŠู†ูŠ ุฃูƒุซุฑ ู…ู† ุฃูƒุซุฑ ู…ู† ุนู…ุฑ ุฃูˆ ุฃูƒุซุฑ
123
00:09:31,830 --> 00:09:36,550
ู…ู† ุงุณู… ู„ุฃู†ู‡ ู‡ูŠุนุทูŠู†ูŠ ุงู„ุฃูƒุจุฑ ูˆุงุญุฏ ููŠ ูƒู„ ู…ุฌู…ูˆุนุฉ ูุงู„ุญู„
124
00:09:36,550 --> 00:09:43,660
ู‡ูˆ ุจุงู„ุดูƒู„ ู‡ุฐุง ู†ุฌุฑุจ ู‡ุฐู‡ ุงู„ู€ query ุนุดุงู† ู†ุดูˆู ู†ุชูŠุฌุชู‡ุง
125
00:09:43,660 --> 00:09:50,560
ู‡ูŠุงุฎุฏู†ุงู‡ุง
126
00:09:50,560 --> 00:09:57,220
ุฒูŠ ู…ุง ู‡ูŠ ุฏูˆู† ุฃูŠ ุชุบูŠูŠุฑ ุฃุนุทุชู†ุง ุฅูŠุด ุงุณู…ู‡ุŸ ุจุจ ุนู…ุฑู‡
127
00:09:57,220 --> 00:10:00,520
ุชู„ุงุชุฉ ูˆุณุชูŠู† ูˆู†ุต ู‡ูŠุด ุงู„ู„ูŠ ุนู…ู„ุชู‡ ุงู„ู„ูŠ ุนู…ู„ุชู‡ ุฃู† ู‡ุง
128
00:10:00,520 --> 00:10:03,900
ุฃูˆ ุฌุชุช ุงู„ุนู…ุฑ ููŠ ุงู„ุฃูˆู„ ุจุนุฏูŠู† ุฑุฌุนุช ู‚ุงุฑู†ุช ุงู„ุนู…ุฑ ู…ุน
129
00:10:03,900 --> 00:10:07,200
ุงู„ู„ูŠ ููŠ ุงู„ุฌุฏูˆู„ ูˆุงู„ู„ูŠ ูŠู„ูˆ ู†ูุณ ุงู„ุนู…ุฑ ุฃุนุทุชู†ุง ุงุณู…
130
00:10:10,100 --> 00:10:17,660
ุทุจ ู„ูˆ ุจุฏู†ุง ุฃุตุบุฑ ูˆุงุญุฏ ููŠ ุงู„ุงุนู…ุงุฑ ู‡ู†ุบูŠุฑ ู†ุญุท ุงู„ู€ men
131
00:10:17,660 --> 00:10:23,540
ูˆูŠู†ุŸ ุทุจ ุจู†ูุน ู†ุญุท ุงู„ู€ average ููŠ ู…ุซุงู„ ุฒูŠู‡ุง ุฏู‡ุŸ
132
00:10:28,090 --> 00:10:31,010
ู…ุงููŠุด ุตุญุŸ ูŠุนู†ูŠ ุงุญู†ุง ู„ูˆ ุนู…ู„ู†ุง average ู‡ูŠุนุทูŠู†ุง ุฑู‚ู…
133
00:10:31,010 --> 00:10:34,810
ู„ู„ู€ average ุจุณ ู…ุงุจู†ุถู…ู†ุด ุฃู†ู‡ ูŠูƒูˆู† ููŠ ูˆุงุญุฏ ุนู…ุฑู‡ ู‡ูˆ
134
00:10:34,810 --> 00:10:38,130
ู†ูุณ ุนู…ุฑ ุงู„ู€ average ู…ู…ูƒู† ุจุงู„ุตุฏูุฉ ุฃู†ู‡ ูŠุทู„ุน ูˆุงุญุฏ ุนู…ุฑู‡
135
00:10:38,130 --> 00:10:41,510
ู†ูุณ ุนู…ุฑ ุงู„ู€ average ุจุณ ุตุฏูุฉ ู…ุงุญุฏุซ ุตุฏูุฉ ุฃู…ุง ุฃู†ู‡ ุฃูƒูŠุฏ
136
00:10:41,510 --> 00:10:44,410
ูŠูƒูˆู† ููŠ ุงู„ุฌุฏูˆู„ ู„ุฃ ุฃู…ุง ุงู„ู€ min ูˆุงู„ู€ max ุฃูƒูŠุฏ ู…ูˆุฌูˆุฏูŠู†
137
00:10:44,410 --> 00:10:44,910
ููŠ ุงู„ุฌุฏูˆู„
138
00:10:53,470 --> 00:10:57,230
ุงู„ุขู† ุฃุญูŠุงู†ุง ุจุนุถ ุงู„ู€ queries ุชุชุทู„ุจ ู…ู†ูŠ ุฃู† ุฃุนู…ู„
139
00:10:57,230 --> 00:11:00,990
nesting ู„ู„ู€ aggregate function ู†ูุณู‡ุง ูŠุนู†ูŠ account
140
00:11:00,990 --> 00:11:05,750
ุฃูˆ ุงู„ูƒู„ุงู… ู‡ุฐุง ููŠ ุงู„ู€ Oracle ููŠ ุงู„ู€ Oracle ุงู„ู…ุณู…ูˆุญ
141
00:11:05,750 --> 00:11:13,930
ู„ูƒู† ููŠ ุงู„ู€ SQL 99 standard ู…ู…ู†ูˆุน ููŠ
142
00:11:13,930 --> 00:11:19,630
ุนู†ุฏูŠ ู…ุซุงู„ ุฃู†ู‡ ุทุงู„ุจ ู…ู†ูŠ ุฃูˆุฌุฏ ุงู„ู€ rating ู„ู„ู€ average
143
00:11:19,630 --> 00:11:25,970
age ุจุญูŠุซ ุฃู†ู‡ ูŠูƒูˆู† ุงู„ู€ minimum average age ุญุณุจ ุงู„ู€
144
00:11:25,970 --> 00:11:31,770
rate ูŠุนู†ูŠ ุจุฏู†ุง ู†ุนู…ู„ groups ู„ู„ู€ rating ูˆููŠ ูƒู„ group
145
00:11:31,770 --> 00:11:35,810
ุงุญุณุจ ุงู„ู€ average age ูˆ ู„ู„ู€ group ุงู„ู„ูŠ ุงู„ู€ average age
146
00:11:35,810 --> 00:11:40,550
ุชุจุนู‡ุง ุฃู‚ู„ ุดูŠุก ุฃุทู„ุน ูŠุนู†ูŠ
147
00:11:40,550 --> 00:11:44,090
ู„ูˆ ุฒูŠ ู…ุง ุงุญู†ุง ู†ูŠุฌูŠ ู†ุญูƒูŠ ู…ุซุงู„ ุนู„ู‰ ุทู„ุงุจ ูˆุงู„ุนู„ุงู…ุงุช
148
00:11:44,090 --> 00:11:48,330
ุจุฏูŠ ุฃูˆุฌุฏ average ุงู„ุนู„ุงู…ุงุช ู„ู„ุทู„ุงุจ ุญุณุจ ุงู„ู‚ุณู… ูŠุนู†ูŠ
149
00:11:48,330 --> 00:11:52,730
groups ุญุณุจ ุงู„ุฃู‚ุณุงู… ูˆุงู„ู‚ุณู… ุงู„ู„ูŠ ุนู„ุงู…ุงุชู‡ ุงู„ู€ average
150
00:11:52,730 --> 00:11:57,710
ุฃู‚ู„ ุดูŠุก ุจุชุทู„ุน ุงุณู… ุงู„ู‚ุณู… ูˆุงู„ู€ average ุงู„ุนู„ุงู…ุงุช ู‡ุฐุง ุจุญุซ
151
00:11:57,710 --> 00:12:01,450
ุฃู†ู‡ ูŠูƒูˆู† ุฃู‚ู„ average ุจูŠู† ุงู„ุฃู‚ุณุงู… ูุงู„ู…ุทู„ูˆุจ ุฃู† ุฃู†ุง
152
00:12:01,450 --> 00:12:06,370
ุฃุนู…ู„ grouping ูˆุฃูˆุฌุฏ average ูˆุจุนุฏูŠู† ุฃูˆุฌุฏ minimum
153
00:12:06,370 --> 00:12:09,830
ู„ู„ู€ average ูƒู„ู…ุฉ minimum ู„ู„ู€ average ูŠุนู†ูŠ ุฃู†ุง ุจุฏูŠ
154
00:12:09,830 --> 00:12:14,270
ุฃุนู…ู„ aggregation ุนู„ู‰ ุงู„ู€ aggregation aggregation
155
00:12:14,270 --> 00:12:18,490
function ุนู„ู‰ ุงู„ู€ aggregation function ููƒูˆูŠุฑูŠ ุจู‡ุฐุง
156
00:12:18,490 --> 00:12:22,310
ุงู„ุดูƒู„ select ุงู„ู€ rating from sailors where ุงู„ู€
157
00:12:22,310 --> 00:12:27,350
average age ุจูŠุณุงูˆูŠ select ุงู„ู€ minimum average ู„ู„ู€
158
00:12:27,350 --> 00:12:32,650
age from sailors ูˆ group by rating ุดูŠุก ุฒูŠ ู‡ูŠูƒ ู‡ุฐุง
159
00:12:32,650 --> 00:12:36,770
ููŠ SQL standard ู…ู…ู†ูˆุน ุฃูˆู„ ุณุจุจ ุฃู†ู‡ ููŠ SQL standard
160
00:12:36,770 --> 00:12:40,590
ู…ู…ู†ูˆุน ููŠ SQL standard ู…ู…ู†ูˆุน ุฃุญุท ุฒูŠ ู‡ูŠูƒ minimum
161
00:12:40,590 --> 00:12:45,050
average minimum of average ู‡ูŠูƒ ุจูŠู† ุฃู‚ูˆุงุณ nesting
162
00:12:45,050 --> 00:12:46,350
ู…ู…ู†ูˆุน
163
00:12:48,160 --> 00:12:55,280
ุงู„ู„ูŠุฌุงู† ุทุจ ุฅูŠุด ุงู„ุญู„ุŸ ุฒูŠ
164
00:12:55,280 --> 00:12:58,600
ู…ุง ุญูƒูŠุช ุฃู†ุง ููŠ ุงู„ู€ Oracle ู…ุณู…ูˆุญ ุงู„ู€ nesting ุจุณ ุงู„ู€
165
00:12:58,600 --> 00:13:04,560
aggregation ู…ู…ู†ูˆุน ููŠ ุงู„ู€ SQL standard ุงู„ุญู„
166
00:13:04,560 --> 00:13:08,560
ุงู„ุตุญูŠุญ ููŠ ุงู„ู€ Oracle ุจู‡ุฐุง ุงู„ุดูƒู„ ุฅู† ุฃู†ุง ู‡ุงุฌูŠ ุฃุนู…ู„
167
00:13:08,560 --> 00:13:14,280
select ู„ู„ู€ rating ูˆุงู„ู€ average age ูˆุฃุนู…ู„ group by
168
00:13:14,280 --> 00:13:18,670
ุงู„ู€ rating ุณูŠุจูˆูƒู… ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุชุญุช select ู„ู„ู€
169
00:13:18,670 --> 00:13:21,390
rating ูˆุงู„ู€ average age group by rating ุฅูŠุด ุจุชุนู…ู„ ู‡ุงูŠ
170
00:13:21,390 --> 00:13:28,690
ุจุฏูˆู† ู‡ุฐุง ุงู„ู„ูŠ ุชุญุชู‡ุง ู‡ุชุทู„ุน ู„ูŠ ุงู„ู€ average ู„ู„ู€ age
171
00:13:28,690 --> 00:13:36,310
ู…ุธุจูˆุท ุชุทู„ุน ู„ูŠ ุฌู†ุจู‡ ู…ูŠู† ุงู„ู€ rating ูˆุชูƒูˆู† ุงู„ู…ุฌู…ูˆุนุงุช
172
00:13:36,310 --> 00:13:39,470
ุญุณุจ ู…ูŠู†ุŸ ุญุณุจ ุงู„ู€ rating ุฅูŠุด ุงู„ู€ ratings ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ
173
00:13:39,470 --> 00:13:44,660
ุนู†ุฏู†ุง ููŠ ุงู„ุฌุฏูˆู„ ููŠ ุนู†ุฏู†ุง ูˆุงุญุฏ ุฅุชู†ูŠู† ู…ุด ู…ูˆุฌูˆุฏ ุชู„ุงุชุฉ
174
00:13:44,660 --> 00:13:51,480
ู…ูˆุฌูˆุฏ ุจุนุฏู‡ุง ุณุจุนุฉ ูˆุซู…ุงู†ูŠุฉ ูˆุชุณุนุฉ ูˆุนุดุฑุฉ ุตุญ ููŠ ู‡ุงูŠ
175
00:13:51,480 --> 00:13:54,920
ุงู„ู€ groups ุงู„ู€ rating ู„ู…ุง ุฃุนู…ู„ ุงู„ู€ groups ุญุณุจ ุงู„ู€
176
00:13:54,920 --> 00:13:57,280
rating ู‡ุงูŠ ุงู„ู€ groups ูˆุงุญุฏ ูˆุชู„ุงุชุฉ ูˆุณุจุนุฉ ูˆุซู…ุงู†ูŠุฉ
177
00:13:57,280 --> 00:14:01,040
ูˆุชุณุนุฉ ูˆุนุดุฑุฉ ููŠ ูƒู„ group ุจู†ุดูˆู ู…ูŠู† ุงู„ู…ูˆุฌูˆุฏูŠู† ุถู…ู†
178
00:14:01,040 --> 00:14:05,040
ุงู„ู€ group ูˆุจู†ุญุณุจ ุงู„ู€ average ุชุจุน ุฃุนู…ุงุฑู‡ู… ู‡ุชุทู„ุน ุนู†ุฏูŠ
179
00:14:05,040 --> 00:14:08,200
ุฃุฑู‚ุงู… ู…ุนูŠู†ุฉ ู…ุซู„ุง ู‡ู†ุนุจูŠู‡ุง
180
00:14:09,420 --> 00:14:13,500
ุงู„ุขู† ุจุนุฏ ุงู„ูƒู„ุงู… ู‡ุฐุง ุญุทูŠู†ุง ุดุฑุท ูˆูŠู†ุŸ ููŠ ุงู„ู€ having ู…ุด
181
00:14:13,500 --> 00:14:18,020
ููŠ ุงู„ู€ where ุดุฑุท ุนู„ู‰ ู…ูŠู†ุŸ ุนู„ู‰ group ุฃู†ู‡ ุฃู†ุง ุจุฏูŠ ุฃู‚ู„
182
00:14:18,020 --> 00:14:24,500
group ุฃู†ู‡ ุฃู†ุง ุจุฏูŠ ุฃู‚ู„ group ูู‡ุนู…ู„ having ุงู„ู€
183
00:14:24,500 --> 00:14:31,160
average age ู‡ุฐุง ุงู„ุฑู‚ู… ุงู„ู„ูŠ ุทู„ุน ู…ุนุงูŠุง ุงู„ู€
184
00:14:31,160 --> 00:14:35,680
average age ูŠูƒูˆู† ุจูŠุณุงูˆูŠ ุงู„ู€ minimum average ู„ู„ู€ age
185
00:14:35,680 --> 00:14:39,370
ู„ุงุญุธูˆุง ุนู…ู„ู†ุง ุฅูŠุดุŸ ุนู…ู„ู†ุง ุงู„ู€ nesting ู‡ุฐู‡ ู…ุณู…ูˆุญุฉ ููŠ ุงู„ู€
186
00:14:39,370 --> 00:14:45,750
oracle ููŠ ุงู„ู€ oracle ู…ุณู…ูˆุญุฉ ูุญุณุจ ุงู„ู€ minimum ููŠู‡ู…
187
00:14:45,750 --> 00:14:52,070
ู†ูุชุฑุถ ุทู„ุนุช ู‡ุฐู‡ ุจุฏู‡ ุฃูุชุฑุถ ูุฑุถุง ุทู„ุนุช ุงู„ุฑู‚ู… ู‡ุฐุง select
188
00:14:52,070 --> 00:14:55,430
the minimum average age from sailors grouped by
189
00:14:55,430 --> 00:14:59,330
the rating ุจุนุฏ ู…ุง ุชุทู„ุน ู…ุนุงูŠุง ุงู„ู‚ูŠู…ุฉ ู‡ุฐู‡ ู…ุซู„ุง ู†ูุฑุถ
190
00:14:59,330 --> 00:15:05,200
ุงู„ู‚ูŠู…ุฉ ู‡ุฐู‡ ูƒุงู†ุช 35 ุนู„ู‰ ูุฑุถ ูู‡ูŠุฑูˆุญ ูŠุณูˆูŠู‡ุง ู…ุน ู…ูŠู†ุŸ ู…ุน
191
00:15:05,200 --> 00:15:09,000
ุงู„ู€ average age ุงู„ู„ูŠ ุญุณุจู†ุงู‡ ู†ูุณ ู…ุง ุนู…ู„ู†ุง ููŠ ุงู„ู€ name
192
00:15:09,000 --> 00:15:12,900
ุชุจุน ุงุณู… ุฃูƒุจุฑ ูˆุงุญุฏ ูู‡ูŠ ู‚ุงุฑู†ู‡ุง ู‡ูŠู„ุงู‚ูŠู‡ุง ุฃู†ู‡ุง ู‡ูŠ ู†ูุณ
193
00:15:12,900 --> 00:15:18,260
ุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ุจู‚ู‰ ู„ู„ุณุจุนุฉ ูŠุฑูˆุญ ูŠุทุจุน ู„ู…ูŠู† ุจุงู„ุถุจุท
194
00:15:18,260 --> 00:15:21,680
ู„ุฅู† ุนุดุงู† ู†ูู‡ู… ุฅูŠุด ุงู„ู„ูŠ ุจูŠุตูŠุฑ ู‡ุนู…ู„ ูƒู„ query ู„ุญุงู„ุฉ
195
00:15:21,680 --> 00:15:29,560
ุงู„ู€ Oracle ูˆู†ุดูˆู ู†ุชูŠุฌุชู‡ุง ู‡ุงูŠ
196
00:15:29,560 --> 00:15:34,730
ู‡ุงุฎุฏ ู‡ุฐู‡ ุงู„ู€ query ุงู„ู€ sub query ู„ุญุงู„ู‡ุง ู‡ุงุฎุฏ ุงู„ู€ sub
197
00:15:34,730 --> 00:15:36,530
query ู„ูˆุญุฏู‡ุง
198
00:15:41,590 --> 00:15:45,710
ู…ุงุฐุง ุฃุนุทุชู†ูŠุŸ 25.5 ู…ู„ูŠูˆู† ุฏูˆู„ุงุฑ ู…ุงุฐุง ุญุณุจุช ุงู„ู€ query
199
00:15:45,710 --> 00:15:50,130
ู‡ุฐู‡ุŸ ุญุณุจุช ุงู„ู€ average ุญุณุจ ุงู„ู€ groups ุญุณุจ ุงู„ู€ group
200
00:15:50,130 --> 00:15:52,490
ุนู„ู‰ ุงู„ู€ rating ุนู…ู„ุช ุงู„ู€ group ุนู„ู‰ ุงู„ู€ rating ูˆุญุณุจุช
201
00:15:52,490 --> 00:15:56,010
ุงู„ู€ average ูˆุนู…ู„ุช minimum ู„ู„ู€ average ุฃู‚ู„ ุงู„ู€
202
00:15:56,010 --> 00:15:59,510
average ูƒุงู† ุนู†ุฏูŠ 25.5 ู„ูƒู† ู…ูŠู† ู‡ูŠ ุงู„ู€ group ู…ุด
203
00:15:59,510 --> 00:16:03,490
ุนุงุฑููŠู† ูู‡ู†ุงุฎุฏ ุงู„ู‚ูŠู…ุฉ ู‡ุงูŠ 25.5 ู…ู‚ุงุฑู†ู‡ุง ู…ุน ุงู„ู€
204
00:16:03,490 --> 00:16:08,430
averages ุงู„ู„ูŠ ุนู†ุฏู†ุง ูˆุงู„ู„ูŠ ู„ู‡ ู†ูุณ ุงู„ู€ average ู‡ุชูƒูˆู†
205
00:16:08,430 --> 00:16:12,150
ู‡ูŠ ุงู„ู€ group ุงู„ู„ูŠ ุงุญู†ุง ุจุฏู†ุง ุงูŠุงู‡ุง ุงู„ู€ query ุงู„ุชุงู†ูŠุฉ
206
00:16:12,150 --> 00:16:17,750
ุจุฏูˆู† ุงู„ู€ having ุดุงูŠููŠู† ุงุญู†ุง ู‡ุงุฎุฏู‡ุง ุจุฏูˆู† ุงู„ู€ having
207
00:16:17,750 --> 00:16:20,570
ุนุดุงู† ู†ุดูˆู ุจุฑุถู‡ ุงู„ู€ query ุงู„ุฃูˆู„ู‰ ุฅูŠุด ุจุชุทู„ุน ู„ูˆุญุฏู‡ุง
208
00:16:20,570 --> 00:16:27,430
ุชุทู„ุน ูƒู„ ุงู„ู€ averages ุญุณุจ ุงู„ู€ rating ุฅูŠุด ุฃุนุทุชู†ูŠุŸ
209
00:16:27,430 --> 00:16:31,230
ุฃุนุทุชู†ูŠ ุฌุฏูˆู„ ููŠ ุงู„ู€ 1 ูˆุงู„ู€ 8 ูˆุงู„ู€ 3 ูˆุงู„ู€ 7 ูˆุงู„ู€ 10 ูˆุงู„ู€ 9 ู…ู†
210
00:16:31,230 --> 00:16:34,470
ุงู„ู„ูŠ ูƒุชุจู†ุงู‡ู… ุจุณ ู…ุด ุจุงู„ุชุฑุชูŠุจ ู„ุฃู† ุงู„ู€ database ู…ุงููŠู‡ุง
211
00:16:34,470 --> 00:16:39,550
ุชุฑุชูŠุจ ูˆุฑุงุญ ุญุณุจ ุงู„ู€ average ุนู„ู‰ ูƒู„ group ู„ุงุญุธูˆุง ู…ู†
212
00:16:39,550 --> 00:16:48,700
ุถู…ู†ู‡ู… ุงู„ู€ 25.5 ู‡ุฐู‡ ูˆู‡ูŠ ุฃู‚ู„ ูˆุงุญุฏุฉ ูู‡ูŠ ุฃู‚ู„ ู…ู†ู‡ุง ูุฃู†ุง
213
00:16:48,700 --> 00:16:51,980
ุงู„ู„ูŠ ู‡ุนู…ู„ู‡ ุฃู†ู‡ ู‡ุญุณุจ ู‡ุฐู‡ ุงู„ู€ query ูˆุงู„ู€ query
214
00:16:51,980 --> 00:16:57,100
ุงู„ุชุงู†ูŠุฉ ุงู„ู„ูŠ ุฃุนุทุชู†ูŠ ู†ุชูŠุฌุฉ ุงู„ู€ 25.5 ูˆุฃุนู…ู„ ุจูŠู†ู‡ู…
215
00:16:57,100 --> 00:17:01,660
ูŠุณุงูˆูŠ ูู‡ุชูƒูˆู† ุงู„ู†ุชูŠุฌุฉ ุฃู†ู‡ ู…ูŠู† ุงู„ู€ group ุฃูˆ ู…ูŠู† ุงู„ู€
216
00:17:01,660 --> 00:17:06,380
rating ุงู„ู„ูŠ ู„ู‡ ุฃู‚ู„ minimum average ุนุดุฑุฉ ุฃู†ุง ุจุฏูŠ
217
00:17:06,380 --> 00:17:09,600
ุงู„ู†ุชูŠุฌุฉ ุชุทู„ุน ุฒูŠ ูƒุฏู‡ ุนุดุฑุฉ ู…ุน ุงู„ู€ 25.5
218
00:17:17,910 --> 00:17:22,490
ู‡ูŠ ุงู„ู€ two queries ู…ุน ุจุนุถ ุฑุจุทู†ุงู‡ู… ู…ู† ุฎู„ุงู„ ุฃู†ู‡ ุนู…ู„ู†ุง
219
00:17:22,490 --> 00:17:30,130
nesting ููŠ ุงู„ู€ having ุนุทุชู†ูŠ
220
00:17:30,130 --> 00:17:32,950
ุงู„ู†ุชูŠุฌุฉ ุงู„ู„ูŠ ุงุญู†ุง ู…ุชูˆู‚ุนูŠู†ู‡ุง ุญุณุจ ุญุณุงุจุงุชู†ุง ุฃู†ู‡ ุงู„ู€
221
00:17:32,950 --> 00:17:38,210
rating ุนุดุฑุฉ ู‡ูˆ ู„ู‡ ุฃู‚ู„ minimum average ููŠ ุงู„ุฃุนู…ุงุฑ
222
00:17:38,210 --> 00:17:42,850
ุงู„ู„ูŠ ู‡ูˆ ุฎู…ุณุฉ ูˆุนุดุฑูŠู† ูˆู†ุต ุทุจ ู„ูˆ ุจุฏู†ุง
223
00:17:47,340 --> 00:17:52,340
ุงู„ู€ maximum sum ุจุฏูŠุด ุฃุนู…ู„ average ู„ู„ุฃุนู…ุงุฑ ุจุฏูŠ ุฃุนู…ู„
224
00:17:52,340 --> 00:17:56,840
sum ู„ู„ุฃุนู…ุงุฑ ุฌุงู…ุน ู„ู„ุฃุนู…ุงุฑ ูˆุจุฏูŠ ุงู„ู€ group ุงู„ู„ูŠ ู„ู‡ุง
225
00:17:56,840 --> 00:18:03,120
ุงู„ู€ maximum sum ู†ูุณ ุงู„ู€ query ุฅูŠุด ุจุฏูŠ ุฃุบูŠุฑู‡ุŸ ู‡ุงูŠ ู†ูุชุญ
226
00:18:03,120 --> 00:18:07,020
ุงู„ู€ query ุงู„ู„ูŠ ุนู†ุฏู†ุง
227
00:18:07,020 --> 00:18:10,220
ู„ูˆ ุจุฏูŠ ุฃู†ุง ุงู„ู€ group ุจุฏูŠ ุฃุนู…ู„ groups ุญุณุจ ุงู„ู€ rating
228
00:18:10,220 --> 00:18:16,970
ูˆุจุฏูŠ ุงู„ู€ group ุงู„ู„ูŠ ู„ู‡ุง ุฃูƒุซุฑ ู…ุฌู…ูˆุน ุฃุนู…ุงุฑ ุงู„ู€
229
00:18:16,970 --> 00:18:23,290
average age ุฏู‡ ุฅูŠุด ุฏู‡ุŸ ุชุตูŠุฑ sum ุฏู‡ ุชุตูŠุฑ sum ู…ุฌู…ูˆุน
230
00:18:23,290 --> 00:18:28,290
ู„ู„ู€ age ุงู„ู€
231
00:18:28,290 --> 00:18:34,010
having ุงู„ุดุฑุท ุงู„ู„ูŠ ุนู†ุฏูŠ ุฅูŠุด ู‡ูŠุชุบูŠุฑ ููŠู‡ ุจุฑุถู‡ sum sum
232
00:18:34,010 --> 00:18:41,870
ุงู„ู€ age ู‡ุงูŠ ุจุฑุถู‡ ุฏู‡ ุชุตูŠุฑ sum ุงู„ู€ s dot age ู„ุฃู† ุงู„ู€
233
00:18:41,870 --> 00:18:46,060
select ู‡ุงูŠ ุจุฏู„ minimum average ุฅูŠุด ุฏู‡ุŸ ุชุตูŠุฑ ุจุณ ูŠุงู„
234
00:18:46,060 --> 00:19:02,780
maximum sum maximum
235
00:19:02,780 --> 00:19:07,640
ู„ู„ู€ sum ุฃูŠ
236
00:19:07,640 --> 00:19:12,240
group ุงู„ู„ูŠ ู‡ุชุทู„ุน ู…ุนุงู‡ ู„ูˆ ุทู„ุนู†ุง ู„ู„ู€ groups ุฎุณุฑู†ุง ุงู„ู€
237
00:19:12,240 --> 00:19:15,700
groups ูˆุฌู…ุนู†ุง ุงู„ุฃุนู…ุงุฑ ู…ูŠู† ุงู„ู„ูŠ ุฅู„ู‡ุง ุงู„ู€ maximum
238
00:19:15,700 --> 00:19:21,280
sum ู‡ุงูŠ
239
00:19:21,280 --> 00:19:28,160
ุงู„ู€ groups ุงู„ู„ูŠ ุนู†ุฏูŠ ุจุณ ุถูŠูู‡ ุนู„ู‰ ุงู„ุนุดุฑุฉ ููŠ ุฑูˆู‡ ููŠ
240
00:19:28,160 --> 00:19:35,260
ูƒู…ุงู† ุนุดุฑุฉ ู…ุนู‡ุง ูƒุงู…ุŸ ุณุชุฉ ุนุดุฑ ู…ูŠู†
241
00:19:35,260 --> 00:19:41,690
ุงู„ู„ูŠ ุฅู„ู‡ุง ุงู„ู€ maximum sum ุชู„ุงุชุฉ ูˆุชู„ุงุชูŠู† ู…ุน ุฎู…ุณุฉ
242
00:19:41,690 --> 00:19:47,070
ูˆุนุดุฑูŠู† ูŠุนู†ูŠ ู…ูŠุฉ ูˆุงุฑุจุนุชุงุด ุชู‚ุฑูŠุจุง ู…ูŠุฉ ูˆุงุฑุจุนุชุงุด ููŠ
243
00:19:47,070 --> 00:19:51,810
ุดุงุชุฑ ู…ูŠุฉ ูˆุงุฑุจุนุชุงุด ู„ุฃ ู…ุงููŠุด ูุงู„ู†ุชูŠุฌุฉ ุงู„ู…ูุฑูˆุถ ุชุทู„ุน
244
00:19:51,810 --> 00:19:57,570
ุนู†ุฏูŠ ูƒุงู…ู„ ู‡ูŠ ุงู„ุชู„ุงุชุฉ ู…ุน ุงู„ู€ sum ู…ุฌู…ูˆุน ู‡ุฏูˆู„ู‡ ุชู‚ุฑูŠุจุง
245
00:19:57,570 --> 00:20:02,750
ู…ูŠุฉ ูˆุงุฑุจุนุชุงุด ุชู„ุงุชุฉ ูˆุชู„ุงุชูŠู† ู…ุน ุฎู…ุณูŠู† ุงู‡ ู…ูŠุฉ ูˆุงุฑุจุนุชุงุด
246
00:20:02,750 --> 00:20:10,100
ุจุชุทู„ุน ู‡ุฐู‡ ุฌูˆุงุจ ูƒุจูŠุฑุฉ ุทุจ ูƒูŠู ู†ุญู„ ุงู„ู…ุดูƒู„ุฉ ู‡ุฐู‡ ููŠ SQL
247
00:20:10,100 --> 00:20:13,140
Standard ู„ูˆ ุงุญู†ุง ู…ุง ุจู†ุดุชุบู„ุด Oracle ู†ุดุชุบู„ SQL
248
00:20:13,140 --> 00:20:17,240
Standard ุฃูˆ ู…ู…ูƒู† ุนู„ู‰ database ุชุงู†ูŠ ุบูŠุฑ Oracle
249
00:20:17,240 --> 00:20:22,260
MySQL ู†ูุฑุถ ุฃูˆ ุดูŠุก ุชุงู†ูŠ ุงู„ุญู„ ุงู„ู„ูŠ ุนู†ุฏู†ุง ุงู„ู„ูŠ ู…ู…ูƒู†
250
00:20:22,260 --> 00:20:27,720
ู†ุณุชุฎุฏู…ู‡ ููŠ SQL Standard ุนุดุงู† ู…ุง ู†ุนู…ู„ุด nesting ุฃู†ู‡
251
00:20:27,720 --> 00:20:31,520
ู†ุนู…ู„ table ุฌุฏูŠุฏ ุจุณ ุจุฏู„ ู…ุง ู†ู†ุดุบู„ู‡ ู†ุนู…ู„ู‡ create
252
00:20:31,520 --> 00:20:35,980
table ุจุฏู‡ ู†ู†ุดุบู„ู‡ ุจุดูƒู„ ู…ุคู‚ุช ุน ุดูƒู„ ุงู„ู€ view ู„ู…ูŠู†ุŸ ู„ู„ู€
253
00:20:35,980 --> 00:20:39,560
averages table ู„ู„ู€ averages ูˆู†ุญุณุจ ู…ู†ู‡ ุงู„ู€ minimum
254
00:20:39,560 --> 00:20:44,380
ูู‡ู†ูŠุฌูŠ ู†ุนู…ู„ ุงู„ู€ query ู‡ุงูŠ ุดุงูŠููŠู†ู‡ุง ููŠ ุงู„ู€ from ุงู„ู€
255
00:20:44,380 --> 00:20:47,380
nesting ุงู„ู…ุฑุฉ ู‡ุงูŠ ูˆู„ุง ู…ูˆุฌูˆุฏ ู…ุด ููŠ ุงู„ู€ where ูˆู„ุง ููŠ
256
00:20:47,380 --> 00:20:51,640
ุงู„ู€ having ุงู„ู€ nesting ู‡ุฐู‡ ุงู„ู…ุฑุฉ ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ from
257
00:20:51,640 --> 00:20:56,240
ู…ุงููŠุด ุนู†ุฏูŠ from ุงุณู… table ู„ุฃู† ุฃู†ุง ุงู„ู€ from ุนู†ุฏูŠ
258
00:20:56,240 --> 00:21:00,780
ุจุชุงุฎุฏ ู…ู† table ุฃู†ุง ุตู†ุนุชู‡ ุฌุฏูŠุฏ view ุฌุฏูŠุฏุฉ ุณู…ูŠุชู‡ุง
259
00:21:00,780 --> 00:21:06,330
ุฅูŠุด ุณู…ูŠุชู‡ุงุŸ timp ุงู„ู€ view ุฏูŠ ุฅูŠุด ููŠู‡ุงุŸ ููŠู‡ุง ุงู„ู€ rating
260
00:21:06,330 --> 00:21:10,390
ูˆุงู„ู€ average group by ุงู„ู€ rating ุจุณ ุญุณุจุฉ ุงู„ู€ average
261
00:21:10,390 --> 00:21:13,690
ุนุดุงู† ุฃุทู„ุน ุงู„ู„ูŠ ู‡ูˆ ุงู„ู„ูŠ ูƒุงู† ุทุงู„ุน ู…ุนู†ุง ุงู„ูˆุงุญุฏ ูˆุงู„ู€
262
00:21:13,690 --> 00:21:17,970
ุชู„ุงุชุฉ ูˆุงู„ุณุจุนุฉ ูˆุงู„ุซู…ุงู†ูŠุฉ ูˆุงู„ุชุณุนุฉ ูˆุงู„ุนุดุฑุฉ ูˆูƒู„
263
00:21:17,970 --> 00:21:25,470
ูˆุงุญุฏุฉ ู…ุนู‡ุง ุงู„ู€ average ุชุจุน ุงู„ุนู…ุฑ ู…ู‚ุงุจู„ู‡ุง ุจุณ table
264
00:21:25,470 --> 00:21:32,070
ุฌุฏูŠุฏ ุจุณ ููŠู‡ ratings ู…ุน averages ูู‚ุท ู„ุง ุบูŠุฑ ุฃู†ุดุฃู†ุง
265
00:21:32,070 --> 00:21:36,540
ู‡ุฐุง ุงู„ู€ table ุจุนุฏ ู…ุง ุฃู†ุดุฃู†ุงู‡ ุฃุฎุฏู†ุง ู…ู†ู‡ ุงู„ู…ุนู„ูˆู…ุชูŠู†
266
00:21:36,540 --> 00:21:40,040
ู‡ุฐูŠู† ุงู„ู€ rating ูˆุงู„ู€ age ูˆุญุทู†ุงู‡ู… ููŠ ุงู„ู€ select timp
267
00:21:40,040 --> 00:21:44,340
.rating timp.rating ุฃูŠ ุงุณู…ู‡ timp table ู‡ุฐุง ุงู„ู€ view
268
00:21:44,340 --> 00:21:49,220
ู‡ูŠ ุงู„ู„ูŠ ุฃู†ุดุฃู†ุงู‡ุง ุงุณู…ู‡ุง timp ุฃุฎุฏู†ุง
269
00:21:49,220 --> 00:21:52,700
ู…ู†ู‡ุง ุงู„ู€ rating ูˆุงู„ู€ average ู‡ุฐุง ุฃูŠ ุณู…ูŠู†ุง average
270
00:21:52,700 --> 00:21:57,240
underscore age timp.average underscore age ู‡ู†ุฑูˆุญ
271
00:21:57,240 --> 00:22:04,020
ู†ุนู…ู„ ุดุฑุท ุฃู†ู‡ ุฃู†ุง ุจุฏูŠ ุงู„ู€ average ู‡ุฐุง underscore age
272
00:22:04,020 --> 00:22:07,920
ูŠูƒูˆู† ุจูŠุณุงูˆูŠ ุงู„ู„ูŠ ููŠ ุงู„ู€ query ู‡ุงูŠ ุฅูŠุด ุฌูˆุง ุงู„ู€ query
273
00:22:07,920 --> 00:22:13,760
ุงู„ู€ minimum ู„ู‡ุง minimum ุงู„ู€ average age ู„ุฃู† ู„ุงุญุธูˆุง
274
00:22:13,760 --> 00:22:16,900
ููŠ ุงู„ู€ example ู‡ุฐุง ู‡ู„ ุงุญู†ุง ู…ุณุชุฎุฏู…ูŠู† nesting ู„ู„ู€
275
00:22:16,900 --> 00:22:18,780
aggregation ูŠุนู†ูŠ aggregation ูˆุฑุง aggregation
276
00:22:18,780 --> 00:22:24,000
ู…ุจุงุดุฑุฉ ุฒูŠ ู‡ูŠูƒ minimum ูˆุงู„ู€ average ูˆุฑุง ุจุนุถ ู…ุงููŠุด ุงู„ู€
277
00:22:24,000 --> 00:22:27,340
minimum ุฃู†ุง ู…ุด ุญุงุท ุจุนุฏู‡ุง aggregate function ุญุงุท
278
00:22:27,340 --> 00:22:30,660
ุจุนุฏู‡ุง column ุงู„ู€ column ู‡ุฐุง ุงุตู„ุง ุฃู†ุง ุญุณุจุชู‡ ู…ู†
279
00:22:30,660 --> 00:22:31,380
aggregate function
280
00:22:36,710 --> 00:22:40,810
ูŠุนู†ูŠ ุฒูŠ ุงุญุชูŠุงู„ ุนู„ู‰ ุงู„ู…ุดูƒู„ุฉ ุงุญุชู„ู†ุง ุนู„ูŠู‡ุง ุนู…ู„ู†ุง view
281
00:22:40,810 --> 00:22:45,350
ุฌุฏูŠุฏุฉ ููŠู‡ุง ุงู„ averages ูˆุนู„ู‰ ุงู„ view ุนู…ู„ู†ุง minimum
282
00:22:45,350 --> 00:22:49,690
ุน ุงู„ table ุงู„ุฃุตู„ ุนู…ู„ู†ุง ุจุณ average ุน ุงู„ sailors ุจุณ
283
00:22:49,690 --> 00:22:53,470
ุนู…ู„ู†ุง average ู…ุง ุนู…ู„ู†ุง minimum ุน ุงู„ table ุงู„ุฌุฏูŠุฏ ุงู„
284
00:22:53,470 --> 00:22:58,990
tim ุจุฑูˆุญ ู†ุนู…ู„ู†ุง ุงู„ minimum ุญู„ ู…ุคู‚ุช ุทุจุนุง ุฃู†ุง
285
00:22:58,990 --> 00:23:02,190
ุงู„ู…ุทู„ูˆุจ ู…ู†ูƒู… ุงู„ู„ูŠ ุจุฏูŠ ุฅูŠุงูƒู… ุชูู‡ู…ูˆู‡ ุงู„ุญู„ ุชุจุน ุงู„ Oracle
286
00:23:02,190 --> 00:23:05,250
ุงู„ู„ูŠ ู‡ูˆ ุฃูˆู„ุง ุฃุณู‡ู„ ุซุงู†ูŠุง ุฃู† ุฃู†ุชู… ุฃุตู„ุง ุจุชุงุฎุฏูˆุง ููŠ
287
00:23:05,250 --> 00:23:09,190
ุงู„ู…ุนู…ู„ ุงู„ Oracle ู…ู…ูƒู† ูŠุนู†ูŠ ู„ู…ุง ุชุดุชุบู„ูˆุง ููŠ ุงู„ู…ุดุฑูˆุน ุชุจู‚ู‰
288
00:23:09,190 --> 00:23:11,710
ูƒู… ุญุชู‰ ุชุดุชุบู„ูˆุง Oracle ู ุฃู†ุง ุงู„ู„ูŠ ุจุทู„ุจ ู…ู†ูƒู… ุฃู†ูƒู…
289
00:23:11,710 --> 00:23:17,110
ุชูู‡ู…ูˆู‡ ูˆุจุญุณุจูƒู… ุนู„ูŠู‡ ู‡ูˆ ุงู„ุญู„ ุชุจุน ุงู„ Oracle ู…ุด ุงู„ุญู„
290
00:23:17,110 --> 00:23:20,770
ุงู„ุณุงุจู‚ ุจุณ ุงู„ุญู„ ุชุจุน ุงู„ SQL standard 99 ู…ุนู†ู‰ ุฃู†ูƒู…
291
00:23:20,770 --> 00:23:24,690
ุชูู‡ู…ูˆู‡ ุนุดุงู† ู„ูˆ ูˆุงุญุฏ ูˆุงุฌู‡ ุดุบู„ ุนู„ู‰ database ุซุงู†ูŠ ุบูŠุฑ
292
00:23:24,690 --> 00:23:32,850
ุงู„ Oracle ูŠุนุฑู ูƒูŠู ุฃู†ู‡ ู…ู…ูƒู† ููŠ ุญู„ูˆู„ ุซุงู†ูŠุฉ ุจุฏู†ุง
293
00:23:32,850 --> 00:23:38,090
ู†ุชูƒู„ู… ุงู„ุขู† ุนู† ุงู„ null values ุจู‚ู‰ ุงู„ุนุดุฑ ุฏู‚ุงุฆู‚ ูŠุนู†ูŠ
294
00:23:38,090 --> 00:23:42,570
ุงู„ุฎู…ุณ ุฏู‚ุงุฆู‚ ูƒูุงูŠุฉ ุงู„ null values ุฃุฎุฐู†ุงู‡ุง ุฃูƒุซุฑ ู…ู†
295
00:23:42,570 --> 00:23:49,450
ู…ุฑุฉ ุงุชูƒู„ู…ู†ุง ุฃู† ุงู„ null ู„ูŠุด ุจู†ุณุชุฎุฏู…ู‡ุง ูˆุฑุง
296
00:23:49,450 --> 00:23:55,170
ุงู„ null ู„ูŠุด ุจู†ุณุชุฎุฏู…ู‡ุง ู„ู…ุง ุชูƒูˆู† ุงู„ู‚ูŠู…ุฉ ูุงุถูŠุฉ blank
297
00:23:55,170 --> 00:24:01,030
ู…ุง ููŠุด ู‚ูŠู…ุฉ ุฃูˆ ู…ุด ู…ุนุฑูˆูุฉ unknown unknown ู…ุด ุนุงุฑู
298
00:24:01,030 --> 00:24:04,590
ุฃู†ุง ุฅูŠุด ุงู„ู‚ูŠู…ุฉ ู…ุง ููŠุด address ุฃุฏุฎู„ู‡ ู…ุง ููŠุด ุงุณู… ุจุฏูŠ
299
00:24:04,590 --> 00:24:09,830
ุฃุฏุฎู„ู‡ ูุจุณุชุฎุฏู… ุงู„ null ุงู„ un-null ู‡ุฐู‡ ุงู„ู„ูŠ ุฃู†ุง
300
00:24:09,830 --> 00:24:12,690
ุจุณุชุฎุฏู…ู‡ุง ููŠ ุญุงู„ุงุช ุงู„ unknown ูˆ ุงู„ inapplicable
301
00:24:12,690 --> 00:24:16,430
unknown ูŠุนู†ูŠ ู…ุด ู…ุนุฑูˆู inapplicable ูŠุนู†ูŠ ุบูŠุฑ ู…ู†ุงุณุจ
302
00:24:16,430 --> 00:24:23,790
ุฒูŠ ุฅูŠุด ุบูŠุฑ ู…ู†ุงุณุจุŸ ุบูŠุฑ ู…ู†ุงุณุจ ูŠุนู†ูŠ ู…ุซู„ุง ููŠ ูˆุฒุงุฑุฉ
303
00:24:23,790 --> 00:24:28,070
ุงู„ุฏุงุฎู„ูŠุฉ ู„ู…ุง ุจูŠุนู…ู„ูˆุง ุงู„ู‡ูˆูŠุงุช ุงู„ู„ูŠ ููŠู‡ ุฅูŠุด ุงุณู…ู‡ ุงุณู…
304
00:24:28,070 --> 00:24:34,410
ุงู„ุนุงุฆู„ุฉ ุงู„ุณุงุจู‚ ู‡ุฐุง ู…ู…ูƒู† ูŠุณุชุฎุฏู…ูˆู‡ ู…ุน ุงู„ุจู†ุงุช ู„ู…ุง
305
00:24:34,410 --> 00:24:39,070
ุจุชุชุฒูˆุฌ ุงู„ุจู†ุช ุชูƒูˆู† ููŠ ุงุณู… ุงู„ุนุงุฆู„ุฉ ุงู„ุณุงุจู‚ ูˆุงุณู…
306
00:24:39,070 --> 00:24:44,310
ุงู„ุนุงุฆู„ุฉ ุงู„ุฌุฏูŠุฏ ุงุณู… ุนูŠู„ุฉ ุฒูˆุฌู‡ุง ู„ูƒู† ุนู†ุฏ ุงู„ุฑุฌู„ ู…ุง ุฅู„ู‡ูˆุด
307
00:24:44,310 --> 00:24:47,070
ุฃูŠ ู…ุนู†ู‰ ูู‡ุฐุง ุจู†ุณู…ูŠู‡ inapplicable ูŠุนู†ูŠ ููŠ ุญุงู„ุฉ
308
00:24:47,070 --> 00:24:50,870
ุงู„ุฑุฌู„ ุงู„ median name ุงู„ median name ุงู„ู„ูŠ ู‡ูˆ ุงุณู…
309
00:24:50,870 --> 00:24:55,570
ุงู„ุนุงุฆู„ุฉ ุงู„ุณุงุจู‚ ู„ู„ู…ุงู„ ู„ู„ุฑุฌู„ inapplicable ู…ุง ุฅู„ู‡ูˆุด ู…ุนู†ู‰
310
00:24:55,570 --> 00:25:00,490
ู„ูƒู† ููŠ ุญุงู„ุฉ ุงู„ females ู…ู…ูƒู† ูŠูƒูˆู† ู„ู‡ ู…ู…ูƒู† ูŠูƒูˆู† ู„ู‡
311
00:25:00,490 --> 00:25:05,620
ู‚ูŠู…ุฉ ู…ู…ูƒู† ู…ุง ูŠูƒูˆู† ู„ู‡ุด ู‚ูŠู…ุฉ ูŠูƒูˆู† unknown ูู‡ูŠ ู…ุนู†ู‰
312
00:25:05,620 --> 00:25:09,840
inapplicable ู…ุง ุจุชุทุจู‚ุด ู…ุซุงู„ ุซุงู†ูŠ ุนู† ุงู„ inapplicable
313
00:25:09,840 --> 00:25:13,800
ู„ูˆ ุฃู†ุง ุนู†ุฏูŠ ู…ูˆุธููŠู† ุซุงุจุชูŠู† ูˆู…ูˆุธููŠู† ุจุงู„ุณุงุนุฉ ุนุฏุฏ
314
00:25:13,800 --> 00:25:17,080
ุณุงุนุงุช ุงู„ุนู…ู„ ู…ู…ูƒู† ุฃู†ุง ุฃูƒูˆู† ุฃุฏุฎู„ ู„ู„ู…ูˆุธู ุงู„ู„ูŠ ุจูŠุดุชุบู„
315
00:25:17,080 --> 00:25:20,500
ุจุงู„ุณุงุนุฉ ุจุณ ุงู„ู…ูˆุธู ุงู„ุซุงุจุช ู…ุง ุจุฏุฎู„ู‡ ุนุฏุฏ ุณุงุนุงุช ุงู„ุนู…ู„
316
00:25:20,500 --> 00:25:23,900
ูุฅูŠุด ุจุญูƒู… ุญู„ู‡ุง ู†ุงุฑุŸ ู„ูŠุด ุญุทุช ู†ุงุฑ ู„ุฅู†ู‡ุง ู…ุด ู…ุนุฑูˆูุฉุŸ
317
00:25:23,900 --> 00:25:26,480
ู„ุฃ ู…ุนุฑูˆูุฉ ุจุณ ุฃู†ุง ู…ุด ู…ุนู†ู‰ ุฃู† ุฃุฏุฎู„ู‡ุง ู…ุง ุจุชู„ุฒู…
318
00:25:26,480 --> 00:25:31,820
inapplicable ูุงู„ู†ุงุฑ ุงู„ู„ูŠ ุจู†ุณุชุฎุฏู…ู‡ ู…ุน ุงู„ unknown ูˆ
319
00:25:31,820 --> 00:25:35,300
ุงู„ inapplicable ู„ูƒู† ูˆูŠู† ุงู„ู…ุดูƒู„ุฉุŸ ุงู„ู…ุดูƒู„ุฉ ุฃู† ุงู„ู€
320
00:25:35,300 --> 00:25:37,980
null ู‡ุฐุง ุจุนู…ู„ ู„ูŠ complications ููŠ ุงู„ comparisons
321
00:25:37,980 --> 00:25:43,080
ูŠุนู†ูŠ ุฃู†ุง ุจูู‡ู… ู„ู…ุง ุจุฃู‚ุงุฑู† ุฑู‚ู…ูŠู† ุจูู‡ู… ุฅู†ู‡ ุฎู…ุณุฉ ุฃูƒุจุฑ
322
00:25:43,080 --> 00:25:48,100
ู…ู† ุซู„ุงุซุฉ ู„ูˆ ู‡ูŠูƒ ูƒุงู† ุงู„ุดุฑุทุŒ ู‡ูŠุนุทูŠู†ูŠ true ู„ูˆ ุฌูŠู†ุง
323
00:25:48,100 --> 00:25:52,480
ุนุงู…ู„ู†ุง ุฎู…ุณุฉ ุฃูƒุจุฑ ู…ู† ุนุดุฑุฉุŒ ู‡ูŠุนุทูŠู†ูŠ false ุทุจ ู„ู…ุง ุขุฌูŠ
324
00:25:52,480 --> 00:25:55,520
ุฃุญูƒูŠ ุฎู…ุณุฉ ุฃูƒุจุฑ ู…ู† .. ูˆุงู„ู‚ูŠู…ุฉ ุงู„ู„ูŠ ุฃู†ุง ุจูุญุต ููŠู‡ุง
325
00:25:55,520 --> 00:26:00,000
ู…ุณุฌู„ุฉ ููŠ ุงู„ database null ุฅูŠุด ุจุฏู†ุง ู†ุญูƒูŠ true ูˆู„ุง
326
00:26:00,000 --> 00:26:04,210
falseุŸ ูุจูŠุนู…ู„ู†ูŠ ุงู„ู†ุงุฑ ุงู„ู„ูŠ ุจูŠุนู…ู„ู†ูŠ ุชุนู‚ูŠุฏุงุช ู„ุฃู† ุฅูŠุด
327
00:26:04,210 --> 00:26:10,150
ุจุฏู†ุง ู†ุญูƒูŠ ุจูŠุตูŠุฑ ุจุฏู†ุง ููŠ ุงู„ database three valued
328
00:26:10,150 --> 00:26:14,350
logic ูŠุนู†ูŠ ุฃู†ุง ููŠ ุงู„ database ู…ุง ุจุดุชุบู„ ุจุณ ุนู„ู‰ logic
329
00:26:14,350 --> 00:26:18,030
ููŠู‡ true ูˆ false ุจุดุชุบู„ ุนู„ู‰ logic ู…ูˆุฌูˆุฏ ููŠู‡ ุงู„ true
330
00:26:18,030 --> 00:26:27,110
ูˆ false ูˆ unknown ุฃูŠ comparison ุจุนู…ู„ู‡ุง ู†ุชูŠุฌุชู‡ุง ูŠุง
331
00:26:27,110 --> 00:26:30,810
ุฅู…ุง true ูŠุง ุฅู…ุง false ูŠุง ุฅู…ุง unknown ุจุทู„ ุงู„ู…ูู‡ูˆู…
332
00:26:30,810 --> 00:26:33,530
ุงู„ุชู‚ู„ูŠุฏูŠ ุงู„ู„ูŠ ูƒุงู† ุนู†ุฏู†ุง ุฒู…ุงู† ุงู„ู„ูŠ ุฅุญู†ุง ู…ุชุนู„ู…ูŠู†ู‡
333
00:26:33,530 --> 00:26:37,470
ุฃู†ู‡ ุฃูŠ ู…ู‚ุงุฑู†ุฉ ุจูŠู†ุชุฌ ุนู†ู‡ุง true ูˆ false ู„ุฃ ุตุงุฑ ุงู„ุขู†
334
00:26:37,470 --> 00:26:41,190
ููŠ ุนู†ุฏูŠ true ูˆ false ูˆ unknown ุงู„ู…ู‚ุงุฑู†ุฉ ุจูŠู† ุงู„ุฎู…ุณุฉ
335
00:26:41,190 --> 00:26:46,370
ูˆุงู„ null ู†ุชูŠุฌุชู‡ุง unknown ู…ุด ู…ุนุฑูˆูุฉ ู„ุฃู†ู‡ ู„ู…ุง ุฃุนุฑู ุฃู†ุง
336
00:26:46,370 --> 00:26:51,230
ู‚ูŠู…ุฉ ุงู„ null ูˆุขุฌูŠ ุฃุนุจูŠู‡ุง ุจุนุฏู‡ุง ุจูŠุตูŠุฑ ุฃุนุฑู ุฃู†ู‡ ู…ู…ูƒู†
337
00:26:51,230 --> 00:26:55,130
ุชูƒูˆู† true ูˆู…ู…ูƒู† ุชูƒูˆู† false ูŠุนู†ูŠ ุฃู†ุง ู…ุซู„ุง ุจุฏูŠ ุนู…ุฑ
338
00:26:55,130 --> 00:26:58,090
ุดุฎุต ู…ุนูŠู† ู…ุด ู…ุณุฌู„ูŠู† ุชุงุฑูŠุฎ ู…ูŠู„ุงุฏู‡ ููŠ ุงู„ database
339
00:26:58,090 --> 00:27:02,930
ูุงู„ุนู…ุฑ null ู„ู…ุง ุฃุนุฑู ุชุงุฑูŠุฎ ู…ูŠู„ุงุฏู‡ ู…ู…ูƒู† ุฃุชู‘ูุงุฌุฃ ุฃู†
340
00:27:02,930 --> 00:27:08,890
ุนู…ุฑู‡ ูŠุทู„ุน ุนุดุฑุฉ ูุชูƒูˆู† ู†ุชูŠุฌุชู‡ุง false ุฃูˆ ูŠุทู„ุน ุนู…ุฑู‡
341
00:27:08,890 --> 00:27:12,910
ุฃุฑุจุนุฉ ูุชูƒูˆู† ู†ุชูŠุฌุชู‡ุง true ูุฃู†ุง ูุนู„ูŠุง ุญุงู„ูŠุง ู…ุด ุนุงุฑู
342
00:27:12,910 --> 00:27:15,870
ุฃู†ู‡ุง ู„ุง true ูˆู„ุง false ุฃู†ุง ุฅูŠุด ุจุนุฑู ู…ุง ุจุนุฑูุด ุฅูŠุด ุฅุฐุง
343
00:27:15,870 --> 00:27:20,330
unknown ุงู„ู†ุชูŠุฌุฉ ู„ู„ logic unknown ูุงู„ู„ูŠ ุจุฏู†ุง ู†ูู‡ู…ู‡
344
00:27:20,330 --> 00:27:25,290
ุฃู† ุงู„ answer ุฃู†ู‡ุง true ูˆ false and unknown ุนุดุงู†
345
00:27:25,290 --> 00:27:29,770
ุฃูุญุต ุงู„ null ู„ู…ุง ุขุฌูŠ ุฃู†ุง ุจุฏูŠ ุฃูุญุต ู‚ูŠู… ุฒูŠ ู…ุง ุฃู†ุง
346
00:27:29,770 --> 00:27:33,290
ุจูุญุต ุฃู† ุงู„ age ุฃูƒุจุฑ ู…ู† ูƒุฐุง ูˆุจูุญุต ุฃู† ุงู„ address
347
00:27:33,290 --> 00:27:37,090
ู…ูˆุฌูˆุฏ ููŠ ุบุฒุฉ ูˆุจูุญุต ุฃู† ุงู„ุงุณู… ูƒุฐุง ุฃูˆ ุฑู‚ู… ุงู„ุทุงู„ุจ
348
00:27:37,090 --> 00:27:42,130
ุดูŠุก ุฑู‚ู… ู…ุนูŠู† ุงู„ null ููŠ ุฃุฏูˆุงุช ู„ูุญุตู‡ ููŠ ุงู„ database
349
00:27:42,130 --> 00:27:44,450
ููŠ ุงู„ where ูˆููŠ ุงู„ having ุนุดุงู† ุฃูุญุต ููŠ ุงู„ where ูˆ
350
00:27:44,450 --> 00:27:50,510
ุงู„ having ุฃุฏูˆุงุช ุงู„ูุญุต ู„ู„ null ุฅูŠุด ู‡ู… ุขุณู ู‡ุฏูˆู„ ุงู„
351
00:27:50,510 --> 00:27:59,210
constraints ุฃุฏูˆุงุช ุงู„ูุญุต ุงู„ู„ูŠ ู‡ูŠ is null ูˆ
352
00:27:59,210 --> 00:28:08,450
is not null ู„ู…ุง ุฃู†ุง ุจุฃู‚ุงุฑู† value ู…ู…ูƒู† ุฃุณุชุฎุฏู… ุงู„ is
353
00:28:08,450 --> 00:28:12,850
null ุฃูˆ ุงู„ is not null ูุฅุฐุง ูƒุงู†ุช null ูˆุฃู†ุง ุทู„ุจุช
354
00:28:12,850 --> 00:28:17,440
ุฃู†ู‡ is null ู‡ูŠุนุทูŠู†ูŠ ุฅูŠุดุŸ ุฃู†ุง ุจูุญุต ููŠ ุงู„ value ููŠ
355
00:28:17,440 --> 00:28:21,000
address ุจุฏูŠ ุฃุดูˆูู‡ ู…ุณุฌู„ ุงู„ address ู„ู„ุทุงู„ุจ ู‡ุฐุง ูˆู„ุง
356
00:28:21,000 --> 00:28:24,920
ู…ุด ู…ุณุฌู„ ุจุญูƒูŠ address ุงู„ุทุงู„ุจ is null ูˆู‡ูˆ ูุนู„ุง null
357
00:28:24,920 --> 00:28:29,040
ุฅูŠุด ู‡ูŠุนุทูŠู†ูŠุŸ ู‡ูŠุนุทูŠู†ูŠ true ูˆุฅุฐุง ูƒุงู† ู…ุฎุฒู† ุฅู„ู‡
358
00:28:29,040 --> 00:28:33,020
address ููŠู‡ ู‚ูŠู…ุฉ ู‡ูŠุนุทูŠู†ูŠ false ูˆุงู„ is not null
359
00:28:33,020 --> 00:28:38,250
ุงู„ุนูƒุณ ูŠุนู†ูŠ ู„ูˆ ุฅุญู†ุง ุทู„ุจู†ุง ู…ู†ูƒู… ุฃู†ู‡ ุทู„ุนูˆู„ู†ุง ุฃุณู…ุงุก
360
00:28:38,250 --> 00:28:42,390
ุงู„ุทู„ุงุจ ุงู„ู„ูŠ ู…ุด ู…ุณุฌู„ูŠู† ู„ู‡ู… ุฑู‚ู… ุฌูˆุงู„ ููŠ ุงู„ database
361
00:28:42,390 --> 00:28:45,130
ุจุชุงุนุฉ ุงู„ุฌุงู…ุนุฉ ุฅูŠุด ุดูƒู„ ุงู„ query ุจุฏูˆ ูŠูƒูˆู†ุŸ ุจุฏูˆ ูŠูƒูˆู†
362
00:28:45,130 --> 00:28:48,870
select ุงู„ student name from ุงู„ students where
363
00:28:48,870 --> 00:28:50,870
ุงู„ุฑู‚ู… ุงู„ุฌูˆุงู„
364
00:28:53,680 --> 00:28:58,540
is null ุนุดุงู† ุฅุฐุง ูƒุงู† ูุงุถูŠ ูŠุทู„ุน ุงุณู…ู‡ ุนู†ุฏูŠ ู†ุฑูˆุญ
365
00:28:58,540 --> 00:29:02,160
ู†ุชูˆุงุตู„ ู…ุนู‡ ู†ุญูƒูŠู„ู‡ ุชุนุงู„ู‰ ุญุฏุซ ุจูŠุงู†ุงุชูƒ ุฏุฎู„ ุฑู‚ู…ูƒ
366
00:29:02,160 --> 00:29:06,700
ูุฅุญู†ุง ุจู†ุณุชุฎุฏู… ุงู„ is null ูˆุงู„ is not null ู„ู„ูุญุต ูˆ
367
00:29:06,700 --> 00:29:10,120
ุจู†ุณุชุฎุฏู… ุงู„ not null constraint ู„ู…ุง ุจู†ุจู†ูŠ ุงู„ุฌุฏูˆู„
368
00:29:10,120 --> 00:29:13,200
ู„ู…ุง ุจู†ุนู…ู„ create table ุนุดุงู† ุฃุถู…ู† ุฅุฐุง ุฃู†ุง ุจุฏูŠ ูƒู„ู…ุฉ
369
00:29:13,200 --> 00:29:16,060
ู…ุนูŠู†ุฉ ู…ุง ุชูƒูˆู† ุฌูˆุงู‡ุง null
370
00:29:18,880 --> 00:29:21,980
ุงู„ not null constraint ุฃุฎุฐู†ุงู‡ ูˆุดุฑุญู†ุงู‡ุง ุณุงุจู‚ุง ุฃู†ุง
371
00:29:21,980 --> 00:29:25,160
ุจุณุชุฎุฏู…ู‡ ุนุดุงู† ุฃุถู…ู† ุฅู† ูƒู„ู…ุฉ ู…ุนูŠู†ุฉ ู…ู…ู†ูˆุน ูŠูƒูˆู† null
372
00:29:25,160 --> 00:29:29,320
ู„ุงุฒู… ู†ุฏุฎู„ู‡ ู‚ูŠู…ุฉ ุจุฏูˆู† ุฃู† ู†ุฏุฎู„ู‡ ู‚ูŠู…ุฉ ุงู„ insert ู…ุด
373
00:29:29,320 --> 00:29:34,400
ู‡ุชุดุชุบู„ ู‡ูŠู†ุนู…ู„ู‡ุง reject ูˆุงุถุญุŸ ู‡ู†ูƒู…ู„ ุงู„ู…ุฑุฉ ุงู„ุฌุงูŠุฉ ููŠ
374
00:29:34,400 --> 00:29:36,880
ู…ูˆุถูˆุน ุงู„ null ุฅูŠุด ุฃุซุฑู‡ ุนู„ู‰ ุงู„ arithmetic ูˆุงู„
375
00:29:36,880 --> 00:29:39,800
comparisons ูˆุฅูŠุด ุฃุซุฑู‡ ุนู„ู‰ ุงู„ union ูˆุงู„ intersect
376
00:29:39,800 --> 00:29:40,540
ูˆ ุงู„ุฃู…ูˆุฑ ู‡ุฐู‡