00:01
Welcome to this lesson.
00:02
In this lesson, we turn the list of the first and the last names and house of people who are in gryffindor.
00:09
So we have two tables.
00:11
One group has got the names of the people.
00:16
So we have the first name.
00:22
Then we have the last name.
00:28
And now let's have house id among other things.
00:35
Probably we need more for some of the purposes.
00:39
Then when we come to the house, we can have the house id.
00:48
Then we have the house, which is the name of the house.
00:53
For example, on id 1, we can have gryffindor.
01:08
Then for example, we can have harry.
01:13
Then we can have porter and house id 1.
01:20
So if we are doing the selection, we can say select.
01:29
We use the alias p for people.
01:32
So p .firstname, then p .lastname, then also h .house.
01:46
The alias for house is h.
01:50
From people, so people as p.
02:07
Then you will join the houses, h...