Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

TOPIC- MONEY HEIST

WARRREN BUFFET 2021-23


Subject- Technology Based Business
Transformation
By Group 7-
Rupali Gupta
Saeel Salgaonkar
Muskan
Shubhangi Ganorkar
Rohit Supale
Aniket Bhagat
Question-1
No. of seasons with IMDB greater than
8.5

SQL QUERY-
SELECT Table2.Season, Table2.IMDB

FROM Table2

WHERE IMDB>8.5;

RESULT-
Query1
Season IMDB
1 8.7
2 8.6
2 8.8
2 8.8
2 8.8
2 9.4
3 9.5
QUESTION 2-
No. of seasons with  episodes
 

greater than 4
SQL QUERY-
SELECT Table2.Season, Table2.Episode

FROM Table2

WHERE Episode>4;

RESULT-
Query2
Season Episode
1 5
1 6
1 7
1 8
1 9
2 5
2 6
3 5
3 6
3 7
3 8
4 5
4 6
4 7
4 8
5 5
QUESTION 3-
No. of episodes with Watchtime
more than 45
SQL QUERY-
SELECT Table2.Episode, Table2.[Watch Time (minutes)], Table2.Season

FROM Table2

WHERE (((Table2.[Watch Time (minutes)])>45));

RESULT-
Query3
Episode Watch Time (minutes) Season
1 47 1
3 50 1
4 51 1
7 47 1
1 54 2
4 55 2
1 51 3
3 50 3
5 50 3
6 48 3
7 46 3
8 60 3
1 54 4
2 46 4
4 54 4
6 47 4
7 53 4
8 61 4
QUESTION 4-
No. of episodes released in Year
2017
SQL QUERY-
SELECT Table2.Year, Table2.Episode

FROM Table2

WHERE Year=2017;

RESULT-
Query4
Year Episode
2017 1
2017 2
2017 3
2017 4
2017 5
2017 6
2017 7
2017 8
2017 9
2017 1
2017 2
2017 3
2017 4
2017 5
2017 6
QUESTION 5-
 No. of times in an season when
the watch time is greater than
45minutes
SQL QUERY-
SELECT Table2.Season, Table2.[Watch Time (minutes)]

FROM Table2

WHERE [Watch Time (minutes)]>45;

RESULT-

Query5
Season Watch Time (minutes)
1 47
1 50
1
1
51
47 QUESTION 6-
2 54

No. of Seasons with


2 55
3 51
3 50
3
3
50
48
IMDB Less than 7
3 46
3
4
60
54
SQL QUERY-
4 46
4 54 SELECT Table2.Season, Table2.IMDB
4 47
4 53 FROM Table2
4 61
5 49 WHERE IMDB<8;
5 52
5 50
5 52
5 55
RESULT-
Query6
Season IMDB
4 7.5
4 7.2
4 7.1
4 7.7
4 7.2
4 7.6
5 7.5
5 7.1
5 7.3
5 7.8

QUESTION 7-
 No. of Seasons with episode less
than 7

SQL QUERY-
SELECT Table2.Season, Table2.Episode

FROM Table2

WHERE Episode<7

RESULT-

Query7
Season Episode
1 1
1 2
1 3
1 4
1 5
1 6
2 1
2 2
2 3
2 4
2 5
2 6
3 1
3 2
3 3
3 4
3 5
3 6
4 1
4 2
4 3
4 4
4 5
4 6
5 1
5 2
5 3
5 4
5 5
QUESTION 8-
 No. of episodes with watchtime less
than 50

SQL QUERY-
SELECT Table2.Episode, Table2.[Watch Time (minutes)], Table2.Season

FROM Table2

WHERE (((Table2.[Watch Time (minutes)])<50));

RESULT-
Query8
Episode Watch Time (minutes) Season
1 47 1
2 41 1
5 42 1
6 43 1
7 47 1
8 43 1
9 42 1
2 42 2
3 43 2
5 42 2
6 43 2
2 42 3
4 44 3
6 48 3
7 46 3
2 46 4
3 43 4
Query8
Episode Watch Time (minutes) Season
5 44 4
6 47 4
1 49 5

QUESTION 9-

 No. of Seasons & Episodes 


released in 2021
SQL QUERY-
SELECT Table2.Season, Table2.Episode, Table2.Year

FROM Table2

WHERE Year=2021;

RESULT-
Query9
Season Episode Year
5 1 2021
5 2 2021
5 3 2021
5 4 2021
5 5 2021

QUESTION 10-
No. of times in an season when the
watch time  less than 45minutes
SQL QUERY-
SELECT Table2.Season, Table2.[Watch Time (minutes)], Table2.ID

FROM Table2

WHERE [Watch Time (minutes)]<45;

RESULT-
Query10
Season Watch Time (minutes) ID
1 41 2
Query10
Season Watch Time (minutes) ID
1 42 5
1 43 6
1 43 8
1 42 9
2 42 11
2 43 12
2 42 14
2 43 15
3 42 17
3 44 19
4 43 26
4 44 28

-------------------------------------------------- THANK YOU-------------------------------------------------------------

You might also like