Search
 
SCRIPT & CODE EXAMPLE
 

SQL

average salary 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 :: description query in sql 
Sql :: find in set in postgresql 
Sql :: postgres advance auto increment 
Sql :: T-SQL and the WHERE LIKE %Parameter% clause 
Sql :: convert minutes to hours in sql 
Sql :: postgresql sum 
Sql :: oracle drop program 
Sql :: create and attach user to a postgresql database 
Sql :: android sqlite get rows count 
Sql :: select query in sql 
Sql :: sql server synonym 
Sql :: how use trigger in sql 
Sql :: sql server express 
Sql :: postgres execute multiple sql file from command line 
Sql :: function in sql 
Sql :: how to close external sql connection in laravel 
Sql :: search from comma separated values in sql server 
Sql :: sorting desc in sql 
Sql :: how to compare two columns in sql server 
Sql :: SQL Add Multiple Columns in a Table 
Sql :: import mysql dump 
Sql :: decimal to integer sql 
Sql :: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client . Can not run php artisan migrate 
Sql :: recourse record format 
Sql :: sqlite column 
Sql :: hou to run job from cmd .exe sql server jop 
Sql :: mysql config address 
Sql :: Oracle Function execution 
Sql :: list enums sql 
Sql :: convert db timestamp to date 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =