Top-N queries for Interviews and Advanced Data Analytics and Business Intelligence Reporting

Pubblicato il: 03 giugno 2024
sul canale di: Advanced Tech Tutor (ATT)
41
1

Video explains top-n queries in most detailed and simplified way. Crack any Interview question on Top-n SQL Queries.
Become an Expert by just watching this video.

#sql #TOPNQUERY #SQLQueries #SQLBeginner #oracle #MYSQL #POSTGRE #FETCH #anaytical #SQLINTERVIEW #NthSalary
5 methods to write queries:
Co-related subqueries/sub-queries
Rownum
Dense rank
row_number
Offset fetch

Queries
--organization wide
--find highest earning employee in the organization
--find lowest earning employee in the organization
--find 5th highest earning employee in the organization
--find 5th lowest earning employee in the organization
--find top 5 highest earning employee in the organization
--find 5 least earning employee in the organization
--find 3rd to 6th highest earning employee in the organization

--department wise
--find highest earning employee in the department
--find lowest earning employee in the department
--find 5th highest earning employee in the department
--find 5th lowest earning employee in the department
--find top 5 highest earning employee in the department
--find 5 least earning employee in the department
--find 3rd to 6th highest earning employee in the department

--job title
--find highest earning employee by job title
--find lowest earning employee by job title
--find 5th highest earning employee in the department
--find 5th lowest earning employee in the department
--find top 5 highest earning employee in the department
--find 5 least earning employee in the department


In questa pagina del sito puoi guardare il video online Top-N queries for Interviews and Advanced Data Analytics and Business Intelligence Reporting della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Advanced Tech Tutor (ATT) 03 giugno 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 41 volte e gli è piaciuto 1 spettatori. Buona visione!