0% found this document useful (0 votes)
29 views6 pages

Meesho

The document contains 11 tables with various columns of data. It also includes a query to calculate cumulative marks by student name and year, order results, and limit output.

Uploaded by

Ashish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views6 pages

Meesho

The document contains 11 tables with various columns of data. It also includes a query to calculate cumulative marks by student name and year, order results, and limit output.

Uploaded by

Ashish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Table 1 Table 2 Table 3 Table 4

Col1 Col2 Col3 Col4


1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
C 110 2010
C 100 2011
1 1 C 90 2012
2 null
2 null
Student Total_mar Cul
3 3 Name ks Year Marks
3 3 A 100 2010 100
A 90 2011 190
1 1 A 110 2012 300
3 3 B 120 2011 120
3 3 B 100 2012 220
C 110 2010 110
C 100 2011 210
C 90 2012 300

Dense
Row Nu Rank Rnk
1 1 1 1
1 2 1 1
2 3 2 3
2 4 2 3
3 5 3 5
3 6 3 5
3 7 3 5
4 8 4 8
Table 5
Col5
1
1
1
1

sum(total_marks) over (partiotion by student name order by year) as cul_marks\


Table 6
Col6
1
1
1
1

current_yearmarks < previous year marks


order by
group by

limit
having
select
where
Table 7 Table 8 Table 9 Table 10 Table 11
Col7 Col8 Col9 Col10 Col11
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
342 2/1/2017 20:57 342 4 4165 3/2/2017 8:22
1880 2/1/2017 21:04 1880 5 2940 3/2/2017 11:51
27 2/1/2017 22:22 27 6 3290 3/2/2017 15:16
54 2/1/2017 22:23 54 7 2730 3/2/2017 18:15
436 2/1/2017 22:24 436 8 17850 3/3/2017 9:49

674 2/1/2017 22:25 674 9 4830 3/3/2017 13:07


Table 12
Col12
1
1
1
1

2
1/1/2001
1/1/2001
1/1/2001
1/1/2001
1/2/2001
1/2/2001
1/2/2001
1/2/2001
1/3/2001

You might also like