Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,430 --> 00:00:05,740
‫All right, so columns, we already kind of talked about this when we defined what a table was, because
2
00:00:05,740 --> 00:00:12,570
‫a table is a collection of columns and rows and each column has a specific data that it wants to store.
3
00:00:12,610 --> 00:00:16,840
‫For instance, here, last name, we're being very specific about what we want to store.
4
00:00:17,590 --> 00:00:20,770
‫And each and every column has a name.
5
00:00:21,950 --> 00:00:28,100
‫But columns are a bit more complicated than that, they have more going on than seemingly just being
6
00:00:28,280 --> 00:00:30,380
‫a place to store a specific type of data.
7
00:00:30,920 --> 00:00:32,180
‫Now, what do I mean by that?
8
00:00:32,780 --> 00:00:36,580
‫Well, one single column is called the column.
9
00:00:36,590 --> 00:00:37,370
‫We know that.
10
00:00:37,760 --> 00:00:40,700
‫But what would we call the collection of all the columns?
11
00:00:41,540 --> 00:00:43,250
‫Well, that's what we would call the degree.
12
00:00:44,030 --> 00:00:45,950
‫We call that the degree of the relation.
13
00:00:45,950 --> 00:00:50,620
‫If we were to take a table and we were to say, OK, what is it we're storing in the table?
14
00:00:51,170 --> 00:00:54,620
‫What we would say, like we're storing multiple columns, that's that's one way of saying it.
15
00:00:54,770 --> 00:01:00,830
‫Or you could say the degree of the relation is I'd first name, last name, sex and date of birth.
16
00:01:01,040 --> 00:01:03,200
‫It's a very theoretical thing to say.
17
00:01:03,470 --> 00:01:10,970
‫Nevertheless, it's the term that we used to call out the collection of columns and each and every column
18
00:01:10,970 --> 00:01:12,650
‫stores a specific type of data.
19
00:01:13,280 --> 00:01:20,510
‫Here we can see that last name stores the last name and that sex stores male, female or otherwise.
20
00:01:20,930 --> 00:01:25,850
‫And that date of birth follows a very strict year, month, day.
21
00:01:27,080 --> 00:01:34,730
‫Well, when we talk about what a column can store, we call that the domain or the constraint we're
22
00:01:34,730 --> 00:01:39,430
‫seeing, OK, in date of birth, we can only store dates.
23
00:01:39,740 --> 00:01:47,060
‫So we have a lock here symbolizing you are constraining the data you're seeing only put this in this
24
00:01:47,060 --> 00:01:47,480
‫field.
25
00:01:47,690 --> 00:01:53,750
‫So we're saying and date of birth only put dates and the same we could say for sex only put one singular
26
00:01:53,750 --> 00:01:56,410
‫letter M or F or otherwise.
27
00:01:56,930 --> 00:02:02,200
‫So we're being very specific about the domain of the data, the domain of the column.
28
00:02:02,540 --> 00:02:04,040
‫That's what we call domain.
29
00:02:04,040 --> 00:02:05,720
‫It's the constraint of the data.
30
00:02:05,750 --> 00:02:07,580
‫It's what can go in here.
31
00:02:08,690 --> 00:02:17,540
‫And another way of talking about columns is saying, well, my table has these attributes with these
32
00:02:17,540 --> 00:02:18,490
‫constraints.
33
00:02:18,890 --> 00:02:23,380
‫So there's very theoretical ways of talking about this and all of these are used interchangeably.
34
00:02:23,390 --> 00:02:25,940
‫You could say attributes, you could say degree of the relation.
35
00:02:25,940 --> 00:02:30,050
‫You could see columns, you could see my columns have these constraints or these domains.
36
00:02:30,200 --> 00:02:35,360
‫And the only reason I'm pointing these out to you is because when you go into the real world and you
37
00:02:35,360 --> 00:02:40,520
‫talk to people that are making databases, they may use this terminology interchangeably.
38
00:02:40,910 --> 00:02:45,640
‫And all you need to know is that a lot of them have synonyms or simpler ways of seeing them.
39
00:02:46,100 --> 00:02:49,580
‫You could say call, you could say the table has these attributes.
40
00:02:49,760 --> 00:02:54,350
‫You could say the table has this degree of relation being it.
41
00:02:54,350 --> 00:02:56,630
‫First name, last name, sex, date of birth.
42
00:02:57,020 --> 00:03:05,450
‫You could say one of my columns has these constraints or my column has this domain being date time or
43
00:03:05,450 --> 00:03:06,330
‫a single letter.
44
00:03:06,950 --> 00:03:12,080
‫So all of these are very important nuances to take into consideration.
45
00:03:12,650 --> 00:03:14,930
‫Now, let's back that up a bit, we said.
46
00:03:16,290 --> 00:03:22,440
‫Every table has a column, multiple columns, or you can have a singular column, but mostly you'll
47
00:03:22,440 --> 00:03:25,110
‫have multiple columns and so every table has columns.
48
00:03:25,710 --> 00:03:31,470
‫Columns are also called attributes, and the collection of columns is called the Degree.
49
00:03:32,730 --> 00:03:40,380
‫And each and every column may or may not enforce a specific type of data to be saved in it, you could
50
00:03:40,380 --> 00:03:42,210
‫see it can be only numbers.
51
00:03:42,420 --> 00:03:44,250
‫Date of birth can only be daytime.
52
00:03:44,310 --> 00:03:52,210
‫We call these constraints or the domain of the attribute attribute domains, so to speak.
53
00:03:52,980 --> 00:03:59,190
‫Let's keep it simple and call them constraints because we're constraining the data to be a certain type.
54
00:04:00,490 --> 00:04:07,360
‫All right, now that we know that, let's take a closer look at Rose and all the specifics around them.
5838
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.