Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Select empID whose salary is greater than their managers
--Sql Server 2014 Express Edition --Batches are separated by 'go' select @@version as 'sql server version' --empID, salary mgrID --1, 100, 4 --2, 120, 6 --3, 110, 4 --4, 200, 6 --5, 120, 4 --6, 150, 7 --7, 200, NULL -- Select empID whose salary is greater than their managers
run
|
edit
|
history
|
help
0
Practice
Hacker - submissions Interview Questions
TARUN
Self join producing wrong results -SQL
BRYAN
Merge Sample Code
Allocations Check
Lab assessment 2
Week 6 Data Base IET
CREATE DATABASE