In this video we learn about SQL Rank functions.
SQL provides SQL RANK functions to specify rank for individual fields as per the categorizations. It returns an aggregated value for each participating row. SQL RANK functions also knows as Window Functions. We will see more about the following functions in this video:
➡️ROW_NUMBER()
➡️RANK()
➡️DENSE_RANK()
➡️NTILE()
🖥️DDL and DML for the table used in the video:
CREATE TABLE examresult
(StudentName VARCHAR(70), Subject VARCHAR(20), Marks INT);
INSERT INTO ExamResult VALUES
('Lily', 'Maths', 65),
('Lily', 'Science', 80),
('Lily', 'english', 70),
('Isabella', 'Maths', 50),
('Isabella', 'Science', 70),
('Isabella', 'english', 90),
('Olivia', 'Maths', 55),
('Olivia', 'Science', 60),
('Olivia', 'english', 89);
#sql #sqlinterview #dataanalytics #sqlserver #sqldatabase #datascience #sqlinterviewquestionsandanswers #sqlinterviewquestion #datascience #rank #sqlfullcourse #sqlfunctions
@dataprojecthub
Sur cette page du site, vous pouvez voir la vidéo en ligne SQL RANK Functions in Detail | Window Functions | Important SQL Interview Question | SQL Analytics durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Data Project Hub 05 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 240 fois et il a aimé 17 téléspectateurs. Bon visionnage!