Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
WEBVTT
00:01.060 --> 00:02.650
Recording in progress.
00:07.330 --> 00:09.160
Session we discussed about joints.
00:14.250 --> 00:16.440
What are the types of joints that we have in?
00:18.280 --> 00:19.770
And he dines.
00:22.850 --> 00:24.800
When people in online blame it.
00:29.580 --> 00:31.020
What are the types of girls?
00:36.910 --> 00:41.320
We have inner joins inner join and outer joins.
00:44.240 --> 00:44.450
And.
00:46.110 --> 00:48.300
What is the keyword that we have in inner join?
00:54.330 --> 00:56.280
What is a joint that we have in emergent.
00:56.820 --> 00:58.320
What is a key word that we have?
01:00.920 --> 01:02.810
Which joint do we use in industrial?
01:09.410 --> 01:11.160
Normal join only.
01:11.180 --> 01:12.350
Join is the keyword.
01:14.770 --> 01:16.660
What will be the output of inner joy?
01:20.280 --> 01:23.850
It will do only matching values between both the tables.
01:24.810 --> 01:27.120
It will give only matching values.
01:32.370 --> 01:32.730
Will you?
01:32.730 --> 01:35.010
Only matching values between both the tables.
01:37.760 --> 01:38.600
In outer joints.
01:38.600 --> 01:40.070
What are the keywords that we have?
01:44.320 --> 01:46.780
What are the keywords that we have in outer joins?
01:51.560 --> 01:52.460
Left join.
01:58.250 --> 01:59.030
Right joint.
02:03.560 --> 02:06.360
And we have one more type of giant is called Full Giant.
02:06.360 --> 02:07.250
It is not a keyword.
02:08.060 --> 02:11.000
We have one more type of join is called a full join.
02:14.520 --> 02:17.370
What is the purpose of using this outer joints.
02:20.480 --> 02:22.780
Now, James is used to fetch matching values.
02:22.790 --> 02:24.860
What is the purpose of using outer joins?
02:27.360 --> 02:31.470
It will give both matching values, plus unmatched values.
02:51.520 --> 02:53.410
Matching values plus unmatching.
02:55.420 --> 02:57.430
What will be the output of left Adjoint?
03:01.360 --> 03:03.280
What will be the output of left join?
03:14.070 --> 03:20.250
Matching values from both the tables, plus unmatched values from left table.
03:22.510 --> 03:24.400
Unmatched value solely from left table.
03:24.880 --> 03:28.520
Similarly, right joint matching values.
03:28.540 --> 03:31.480
Plus unmatched values from right table.
03:33.280 --> 03:35.500
Unmatched values from right to.
03:40.940 --> 03:42.770
What is the syntax of full join?
03:44.590 --> 03:46.360
What is the syntax of full join?
03:46.900 --> 03:48.640
What will it give in the output?
03:57.260 --> 04:00.560
What is the syntax of Wolverine and what will it give in the output?
04:05.660 --> 04:08.540
Syntax for full join is left join union right join.
04:20.640 --> 04:22.350
What will it give in the output?
04:22.380 --> 04:24.120
What are you going to get in the output?
04:30.990 --> 04:33.060
What are you going to getting output here.
04:33.840 --> 04:34.640
In the output of.
04:38.090 --> 04:39.650
Matching values.
04:40.190 --> 04:44.030
Plus, unmatched values from both tables.
04:45.640 --> 04:47.140
Both left and right tables.
06:35.380 --> 06:35.690
Okay.
06:36.160 --> 06:42.040
This full Jane will give matching values plus unmatched values from both the tables.
06:54.960 --> 06:57.600
Beyond that, what are the types of joints that we watch?
06:57.690 --> 07:00.360
What are the remaining joints that we have?
07:06.130 --> 07:09.460
Saying cross join.
07:12.510 --> 07:13.410
And self-driving.
07:24.570 --> 07:25.200
Project.
07:25.230 --> 07:27.180
What is the purpose of using Crossrail?
07:29.610 --> 07:36.400
I think it will do all possible combinations between both the tables.
07:40.860 --> 07:43.740
All possible combinations between both the tables.
07:50.320 --> 07:52.150
What is the another name of Crossgen?
08:00.520 --> 08:01.870
Cartesian product.
08:04.330 --> 08:06.550
Why it is called as Cartesian product.
08:09.590 --> 08:12.170
Output of the crossgen will contain.
08:14.540 --> 08:20.690
The product of number of records present in first table and the product of number of records present
08:20.690 --> 08:21.740
in second table.
08:22.190 --> 08:23.990
For example, in table one.
08:25.800 --> 08:29.270
If we have four records and table two.
08:31.040 --> 08:37.340
If you have three records in the output result set, you will have two records.
08:42.610 --> 08:45.340
That is why it is also called as a Cartesian product.
08:57.200 --> 09:00.080
After that, I gave you a task on Self-join.
09:12.670 --> 09:13.420
Self-join.
09:13.720 --> 09:14.380
What?
09:14.380 --> 09:15.940
What does this self-join mean?
09:17.910 --> 09:18.750
What does it mean?
09:24.480 --> 09:26.550
Yeah, we are joining the same table.
09:35.310 --> 09:35.870
I think.
09:40.080 --> 09:40.650
Joining.
09:45.390 --> 09:47.010
The same table with itself.
10:00.750 --> 10:03.630
Joining the same table with itself is called self join.
10:05.120 --> 10:07.610
Why do we join the same table with itself?
10:07.640 --> 10:08.090
Why?
10:08.120 --> 10:09.980
What is the purpose of joining like that?
10:45.410 --> 10:45.860
And someone.
10:47.110 --> 10:49.090
No library was destroyed.
10:49.210 --> 10:50.460
I gave you an example.
10:50.470 --> 10:51.460
I gave you a task.
10:52.940 --> 10:54.070
How many of you it?
10:55.700 --> 10:57.560
I gave you a task on Self-join.
11:00.470 --> 11:03.440
I gave you a table with three columns called employee ID.
11:06.550 --> 11:07.560
The employ name.
11:12.310 --> 11:13.180
Unmanageable.
11:18.270 --> 11:19.170
Manager name.
11:23.820 --> 11:24.050
Yeah.
11:24.060 --> 11:25.350
An employee name column there.
11:25.380 --> 11:26.400
Names of the managers.
11:26.400 --> 11:26.610
Right.
12:04.100 --> 12:05.540
Who is the manager for?
12:08.670 --> 12:09.960
Who is the manager for Sana.
12:11.490 --> 12:12.960
Who is the manager for John.
12:13.800 --> 12:15.510
Who is the manager for Peter?
12:16.110 --> 12:17.670
Where are their names?
12:19.340 --> 12:20.330
An employee name table.
12:20.330 --> 12:21.250
Their names are present.
12:21.500 --> 12:23.000
Then why can't you fetch them?
12:27.020 --> 12:30.870
I told you the same same inner join or outer join query.
12:30.890 --> 12:35.390
You can use any left, join or inner join query and you can try for it.
12:40.150 --> 12:42.730
In normal joints, which condition will you use?
12:43.450 --> 12:45.910
What is the condition that we are going to use?
12:55.820 --> 12:57.160
I asked about condition.
12:57.160 --> 12:59.380
Which condition are we going to use?
13:04.180 --> 13:06.460
We are going to use on condition.
13:11.420 --> 13:16.040
This arm condition is used to find matching values between both the tables.
13:22.560 --> 13:25.770
Is used to find the matching values between both the tables.
13:31.570 --> 13:34.570
Okay, let me create this particular table and let me.
13:36.280 --> 13:37.240
Rachel's joy.
13:52.940 --> 13:53.430
Okay.
13:59.060 --> 14:00.080
Create table.
14:00.250 --> 14:01.400
Employee table.
14:12.280 --> 14:14.380
We have columns called employed.
14:17.680 --> 14:20.920
Just until you can take 3 million tons of.
14:25.150 --> 14:26.170
The employee name.
14:29.180 --> 14:30.800
You just collect property?
14:37.970 --> 14:39.200
Manager, Eddie.
14:40.790 --> 14:42.070
Just again until.
14:49.560 --> 14:51.810
After that we can control enter to execute.
14:53.220 --> 14:53.550
Just.
14:55.560 --> 14:57.480
The employee table got created.
14:58.420 --> 14:59.540
To see it in the output.
14:59.560 --> 15:01.690
Execute select star from employee table.
15:12.310 --> 15:13.110
Implied table.
15:14.460 --> 15:15.970
The gun control enter to.
15:17.490 --> 15:21.960
Here we have employee table with three columns called employee ID, employee name and manager ID.
15:24.220 --> 15:26.800
After that insert values into this particular table.
15:29.920 --> 15:30.670
Insert into.
15:33.610 --> 15:34.630
The employee table.
15:38.910 --> 15:39.810
Values.
15:43.360 --> 15:44.350
Employed one.
15:48.810 --> 15:49.200
Name.
15:54.700 --> 15:56.390
Manager null value.
15:56.420 --> 15:56.890
Sorry.
15:57.100 --> 15:57.910
Employee one.
15:58.060 --> 16:00.520
You can give name as periods as use the.
16:05.760 --> 16:06.950
Manage writing values.
16:06.960 --> 16:07.260
Mulk.
16:16.000 --> 16:16.230
In.
16:21.790 --> 16:26.560
We can give him values we cannot give in table names and column names.
16:28.300 --> 16:35.860
For values we can utilize as per your wish because values will be treated as from semicolon to semicolon.
16:36.790 --> 16:38.190
Sorry, quotation mark to question.
16:38.290 --> 16:39.040
Quotation mark.
16:40.940 --> 16:45.620
From this starting quotation mark to ending quotation mark, it will be considered as a single value.
16:47.280 --> 16:52.500
For example, if you remove quotation mark here, the whole null value this commas and all will be considered
16:52.500 --> 16:53.220
as same value.
16:54.880 --> 16:59.320
This bracket will become the same value until you close the.
17:00.960 --> 17:01.470
Rotation.
17:08.980 --> 17:12.070
The table names in between table names and column names.
17:12.070 --> 17:13.510
You can't give any space.
17:30.760 --> 17:31.510
ID number two.
17:34.720 --> 17:35.020
Known.
17:39.440 --> 17:40.450
Nonetheless one.
17:45.240 --> 17:46.500
Employee number three.
17:48.580 --> 17:49.240
Learn some of.
17:51.110 --> 17:52.340
Manager Radius one.
17:57.470 --> 17:58.890
Employee ID number for.
18:07.030 --> 18:07.480
Name?
18:07.480 --> 18:07.900
John.
18:09.950 --> 18:10.340
Manager.
18:10.460 --> 18:11.060
It is.
18:12.300 --> 18:12.510
They?
18:13.690 --> 18:15.960
Which is the employer of someone.
18:17.760 --> 18:18.130
Employee.
18:18.250 --> 18:19.110
The number five.
18:24.690 --> 18:25.440
Then, Peter.
18:31.180 --> 18:35.710
It also managed redistrict after that, execute this particular query.
18:37.250 --> 18:39.770
After that execute select star from employee table.
18:41.280 --> 18:41.460
Here.
18:41.460 --> 18:46.320
I got complete table in the output with columns, employee ID, employee name and manager ID.
18:47.670 --> 18:49.820
And from some time it.
18:55.860 --> 18:56.310
I love you.
18:56.310 --> 18:57.750
Create this particular table.
23:01.040 --> 23:03.080
After creating this particular table.
23:08.100 --> 23:08.460
Right.
23:08.490 --> 23:10.630
A normal joint ballistics.
23:15.160 --> 23:15.880
Select.
23:16.180 --> 23:18.070
What are the columns that I want?
23:18.100 --> 23:18.880
Employee ID?
23:25.720 --> 23:26.590
Employee name.
23:30.290 --> 23:32.930
I want one more column called Management.
23:33.170 --> 23:35.720
I want one more column called Management.
23:35.870 --> 23:38.960
In which column am I able to see this employee names?
23:40.170 --> 23:41.100
Borough manager names.
23:41.100 --> 23:44.540
In which column am I able to see the name of Bill Gates on and.
23:48.900 --> 23:52.830
In employee name, I am able to see their names one more time.
23:52.830 --> 23:53.670
I will take employment.
23:56.260 --> 23:57.580
I will rename it as.
23:58.700 --> 23:59.350
Management.
24:06.780 --> 24:07.140
From.
24:18.840 --> 24:19.890
In-flight table.
24:24.310 --> 24:26.320
I'm taking a less nervous even.
24:33.090 --> 24:35.400
Groin attack left joint.
24:42.780 --> 24:44.550
Again take the same table.
24:45.910 --> 24:48.490
Again, take same table, same employee table.
24:54.700 --> 24:56.650
New alias name as P2.
25:03.070 --> 25:05.590
I am joining the same table with itself.
25:06.850 --> 25:11.020
After that, I'm mentioning the table names for column names.
25:11.290 --> 25:14.890
This employee id I'm fetching from employee E1 table.
25:16.040 --> 25:17.380
Even dot employee ID.
25:21.280 --> 25:25.780
This employ name I am fetching from E1 table e1 dot employee name.
25:26.870 --> 25:30.230
His second employee name am fetching from E to table.
25:31.410 --> 25:34.540
E2 Table E to table from second table.
25:34.560 --> 25:36.000
I'm fetching this particular column.
25:37.360 --> 25:43.150
The same column, but for when I am when I am taking this table for the second time, I am renaming
25:43.150 --> 25:44.050
it as E2.
25:44.590 --> 25:48.280
From this second time table, I am taking this employee name column.
25:49.710 --> 25:53.880
For taking this particular column I am using some condition on.
25:55.820 --> 25:57.770
Even dot manager ID.
26:00.530 --> 26:04.610
ID is equal to e two dot employee id.
26:12.380 --> 26:20.360
Wherever manager ID value is matching with employee ID, they'll fetch their names only print their
26:20.360 --> 26:21.260
names only.
26:23.370 --> 26:27.900
Whenever this manager ID is matching with the employee id print his name.
26:28.110 --> 26:32.220
Whenever this manager ID is matching with this employee ID, print this name.
26:34.900 --> 26:38.890
When our manager is matching the employee ID, print the employee name.
26:41.020 --> 26:43.140
After that you can control enter to execute.
26:45.920 --> 26:46.500
One minute.
26:47.430 --> 26:48.200
Sorry.
26:58.560 --> 27:04.050
If we execute this particular query, you will get a column called Employee ID, Employee name and Manager
27:04.050 --> 27:04.290
Name.
27:31.080 --> 27:33.960
After executing this particular query.
27:35.090 --> 27:35.540
I love you.
27:35.540 --> 27:36.740
Practice all the joints.
27:37.010 --> 27:37.670
All joints.
27:37.670 --> 27:38.540
All remaining joints.
27:38.540 --> 27:40.550
Because this is a very important topic.
14462
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.