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
Unpivot Example
Object Attributed Mapping Interview Question
My data
Movies
n sei o nome (30.10)
sql-server-storing-wildcards-in-data
SQL_Joins_Intersect_Except_Union
h
Crea, inserta y confirma tabla
Xml Excercise 1