Full Stack .Net Web Developer Blog
Monday, June 3, 2019
SqlSever Interview Question 2nd highest salary by gender
SELECT * FROM
(
SELECT ROW_NUMBER() OVER (PARTITION BY GENDER ORDER BY SAL DESC) AS XRANK,GENDER,SAL FROM #TBLTEST
)A
WHERE A.XRANK=1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
javascript Filter/index off
var family = [{"name":"Jack", "age": 26}, {"name":"Jill", "age"...
VLOOKUP FOR Display product with respective quantity
A3+C3 VLOOKUP(G3,$A$3:$B$10,2) sum Product Quantity Count Result 1 Mobile 2 1 Mobile 3 Keyboard 3 2 Mobile 6 TV 1 3 ...
EF Core
EF CORE CLI > dotnet ef database update MyFirstMigration. Scaffold-DbContext Command Use Scaffold-DbContext to create a model based ...
No comments:
Post a Comment