Search
 
SCRIPT & CODE EXAMPLE
 

SQL

FIND AVERAGE SALARY EARNER IN SQL

SELECT FIRST_NAME FROM EMPLOYEES
WHERE SALARY = (SELECT AVG(SALARY) FROM EMPLOYEES);
Comment

FIND ABOVE AVERAGE SALARY EARNER IN SQL

SELECT FIRST_NAME, LAST_NAME
FROM EMPLOYEES
WHERE SALARY > (SELECT AVG(SALARY) FROM EMPLOYEES);
Comment

above average salary in sql

SELECT FIRST_NAME FROM EMPLOYEES
WHERE SALARY > (SELECT AVG(SALARY) FROM EMPLOYEES);
Comment

find below average salary in sql

SELECT first_name, salary FROM employees
WHERE salary <= (SELECT AVG(salary) FROM employees); 
Comment

PREVIOUS NEXT
Code Example
Sql :: java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed 
Sql :: how to run sql query in mysql workbench 
Sql :: import data from excel to sql server automatically 
Sql :: SQL Creating a Procedure 
Sql :: sql check if a record exists 
Sql :: list databases in sql server 
Sql :: sql server standard 
Sql :: bigquery routine 
Sql :: like and not like together in sql 
Sql :: sql into vs insert into 
Sql :: insert into with 3 tables 
Sql :: criteria builder select subset of column 
Csharp :: create a directory if it doesnt exist c# 
Csharp :: how to make mouse invisible unity 
Csharp :: c# open web page in default browser 
Csharp :: c# get username 
Csharp :: c# writeline debug 
Csharp :: bitmasking in c# 
Csharp :: how t remove a component in unity 
Csharp :: c# error messagebox 
Csharp :: using variables from other procedures C# 
Csharp :: c# char to int 
Csharp :: c# open file dialog 
Csharp :: how to get an child of an gameobject 
Csharp :: how to delay execution in c# 
Csharp :: setactive unity 
Csharp :: unity scriptable object 
Csharp :: how to change scenes with button press in unity c# 
Csharp :: load scene unity 
Csharp :: unity stop all audio 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =