All in One
All in One
(4 Marks)
2. Consider the following data of a medical store and plot the data on the line chart and Customize
the chart as you wish: (4 Marks)
3. Table:- Students
Stud_ID Name Activity Cost
101 John Smith Tennis 360
102 John Bloggs Squash 400
103 Mark Antony Swimming 200
104 Michal Clark squash 400
105 Ab de Villiers Swimming 200
Write the Query with output for the following Questions: (7 Marks)
1. Create above table in MSQL database.
2. Insert all above records in table.
3. Show Max cost from table.
4. Show student names who has taken part in Squash activity.
5. Show Student_ID and name of student in descending order of cost.
6. Increase cost by 15%.
7. Show first 3 letters of Student name.
1. Create a series and print the top 3 elements using the head function. (4 Marks)
2. Display following bowling figures through bar chart: (4 Marks)
Overs Runs
1 6
2 18
3 10
4 5
3. Table:- Students
Stud_ID Name Activity Cost
101 John Smith Tennis 360
102 John Bloggs Squash 400
103 Mark Antony Swimming 200
104 Michal Clark squash 400
105 Ab de Villiers Swimming 200
Write the Query with output for the following Questions: (7 Marks)
8. Create above table in MSQL database.
9. Insert all above records in table.
10. Show Max cost from table.
11. Show student names who has taken part in Squash activity.
12. Show Student_ID and name of student in descending order of cost.
13. Increase cost by 15%.
14. Show first 3 letters of Student name.
1. Create a series and print the bottom 3 elements using tail function. (4 Marks)
2. Consider the following data of a medical store and plot the data on the line chart and Customize
the chart as you wish: (4 Marks)
1. Create a series of 10 numbers starting with 41 and with the increment of 3. Now add 7 all odd
values and subtract 3 in even values. Reprint the updated series. (4 Marks)
2. Use following data and subplot sanitizer data and handwash data. (4 Marks)
3. Write the Query with output for the following Questions: (7 Marks)
Power(2,-2)
15. Substr(“Python”,3,2)
16. Month(“2021-2-15”)
17. Dayofyear(“2020-9-28”)
18. Lcase(“SHantiniketan”)
19. Ltrim(“ Happy New Year ”)
20. Mod(4.567,2.42)