SQL RANK Functions in Detail | Window Functions | Important SQL Interview Question | SQL Analytics

Pubblicato il: 05 ottobre 2023
sul canale di: Data Project Hub
240
17

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‬


In questa pagina del sito puoi guardare il video online SQL RANK Functions in Detail | Window Functions | Important SQL Interview Question | SQL Analytics della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Data Project Hub 05 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 240 volte e gli è piaciuto 17 spettatori. Buona visione!