abdullah's picture
Add files using upload-large-folder tool
07594e5 verified
raw
history blame
40.7 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 ู‡ุงูŠ selectcount 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 ุณู…ูŠู†ุง ุงู„ุนู„ุงู‚ุฉ I
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
ุงูŠุด ุณู…ูŠุชู‡ุง timุงู„ู€ 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 ุชุงุจู„ ู‡ุฐุง ุงู„ 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
ุงู„ู…ุทู„ูˆุจ ู…ู†ูƒู… ุงู„ู„ูŠ ุจุฏูŠ ุงูƒู… ุชูู‡ู…ูˆู‡ ุงู„ุญู„ ุชุจุน ุงู„ู‚ุฑุงูƒูŠ
286
00:23:02,190 --> 00:23:05,250
ุงู„ู„ูŠ ู‡ูˆ ุฃูˆู„ุง ุฃุณู‡ู„ ุชุงู†ูŠ ุงู† ุงู†ุชูˆุง ุฃุตู„ุง ุจุชุงุฎุฏูˆุง ููŠ
287
00:23:05,250 --> 00:23:09,190
ุงู„ู…ุนู…ู„ุฃูˆุฑุงูƒู„ ู…ู…ูƒู† ูŠุนู†ูŠ ู„ู…ุง ุชุดุชุบู„ูˆุง ููŠ ุงู„ู…ุดุฑูˆุน ุชุจู‚ู‰
288
00:23:09,190 --> 00:23:11,710
ูƒู… ุญุชู‰ ุชุดุชุบู„ูˆุง ุฃูˆุฑุงูƒู„ ูุงู†ุง ุงู„ู„ูŠ ุจุงุทู„ุจ ู…ู†ูƒู… ุงู†ูƒู…
289
00:23:11,710 --> 00:23:17,110
ุชูู‡ู…ูˆู‡ ูˆ ุจุญุณุจูƒู… ุนู„ูŠู‡ ู‡ูˆ ุงู„ุญู„ ุชุจุน ุงู„ุฃูˆุฑุงูƒู„ ู…ุด ุงู„ุญู„
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
ุงู„ุฃูˆุฑุงูƒู„ ูŠุนุฑู ูƒูŠู ุงู†ู‡ ู…ู…ูƒู† ููŠ ุญู„ูˆู„ ุชุงู†ูŠุฉ ุจุฏู†ุง
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
ูˆุงู„ู†ู„ ู†ุชูŠุฌุชู‡ุง unknown ู…ุด ู…ุนุฑูˆูุฉ ู„ุฃู†ู‡ ู„ู…ุง ุฃุนุฑู ุฃู†ุง
336
00:26:46,370 --> 00:26:51,230
ู‚ูŠู…ุฉ ุงู„ู†ู„ ูˆ ุฃุฌูŠ ุฃุนุจูŠู‡ุง ุจุนุฏู‡ุง ุจุตูŠุฑ ุฃุนุฑู ุฃู†ู‡ ู…ู…ูƒู†
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 andunknown ุนุดุงู†
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
constraint ุฃุฏูˆุงุช ุงู„ูุญุต ุงู„ู„ูŠ ู‡ูŠ 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
ูˆ ุงู„ุฃู…ูˆุฑ ู‡ุฐู‡