ITC Infotech interview question

Difference between rank and dense rank in SQL