https://bigdatainsights.online/rank-function-in-sql/