Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
0
1
00:00:02,304 --> 00:00:03,072
Hi everyone
1
2
00:00:04,096 --> 00:00:05,376
So now we have covered
2
3
00:00:05,888 --> 00:00:07,424
How to get data
3
4
00:00:07,680 --> 00:00:08,960
from two or more tables
4
5
00:00:09,472 --> 00:00:10,240
Using
5
6
00:00:10,752 --> 00:00:11,776
Join statements
6
7
00:00:13,056 --> 00:00:18,688
Let us test If you can get the total sales done in every state
7
8
00:00:18,944 --> 00:00:23,552
For this, use the customer 20 60 and sales 2015 table
8
9
00:00:24,576 --> 00:00:28,928
And for every state find out the total sales value
9
10
00:00:30,208 --> 00:00:33,536
and there is a hint also, to do this you'll need to use both
10
11
00:00:34,048 --> 00:00:36,352
Joins and the group by command
11
12
00:00:37,632 --> 00:00:43,776
For your second activity suppose you want to find out the total sales of each product in your product table
12
13
00:00:44,544 --> 00:00:47,872
So you take your product table and against it
13
14
00:00:48,128 --> 00:00:53,248
Mark the total sales value of that product and total quantity sold of that product
14
15
00:00:54,272 --> 00:00:59,648
So your resultset should have product ID product name category
15
16
00:01:00,160 --> 00:01:00,928
Total sales
16
17
00:01:01,184 --> 00:01:01,696
And
17
18
00:01:01,952 --> 00:01:03,232
Total quantity sold
18
19
00:01:05,280 --> 00:01:06,304
Once you have done this
19
20
00:01:06,560 --> 00:01:09,888
You will be able to use joins whenever you need to
20
21
00:01:10,144 --> 00:01:11,680
If you are facing any difficulty
21
22
00:01:12,192 --> 00:01:13,216
Revisit the joins videos or else ask your doubt in discussion forum
1772
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.