You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Hard/Average Salary.sql
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
-- Question 108
2
-
-- Given two tables as below, write a query to display the comparison result (higher/lower/same) of the average salary of employees in a department to the company's average salary.
2
+
-- Given two tables as below, write a query to display the comparison result (higher/lower/same) of the
3
+
-- average salary of employees in a department to the company's average salary.
3
4
4
5
5
6
-- Table: salary
@@ -61,4 +62,4 @@ when dept_avg = comp_avg then "same"
0 commit comments