Last answered:

06 Nov 2022

Posted on:

19 Oct 2021

4

Can we use ROw_Number or DENSE_RANK function here?

SELECT date,
ROW_NUMBER(total_consumption)  OVER ( PARTITION BY date) as ranking
FROM joined
WHERE ranking = 1

3 answers ( 0 marked as helpful)
Posted on:

08 Nov 2021

0

yes

Posted on:

06 Nov 2022

0

Yes

Posted on:

06 Nov 2022

0

No

Submit an answer