what is the querry for all managers salary?
Answers were Sorted based on User's Feedback
Answer / sudhakar
SELECT Salary
FROM (Table name)
WHERE Job = 'MANAGER';
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / divyasrajesh
SQL> select m.ename,m.sal from emp e,emp m where e.mgr=m.empno
2 group by m.ename,m.sal;
ENAME SAL
---------- ----------
JONES 2975
SCOTT 3000
KING 5000
BLAKE 2850
CLARK 2450
FORD 3000
6 rows selected.
This is the query for getting the managers sal from emp pls check it out dudes;
| Is This Answer Correct ? | 3 Yes | 0 No |
How do you create a schema?
What is session variable in mysql?
What is the difference between unix timestamp and mysql timestamp?
How do I connect to mysql database?
How do I install mysql workbench?
What are the other commands to know the structure of table using MySQL commands except explain command?
What is the command line end user interface - mysql?
What does tinyint mean?
What is A BI Ap;plication?
What is mysql default port number?
How do I remove a user from mysql?
What do we use to remove duplicate records while fetching a data in mysql ?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)