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
На этой странице сайта вы можете посмотреть видео онлайн SQL RANK Functions in Detail | Window Functions | Important SQL Interview Question | SQL Analytics длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Data Project Hub 05 Октябрь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 240 раз и оно понравилось 17 зрителям. Приятного просмотра!