we have two tables first one is EMPLOYEE
having EmpID, EmpNAME,
Second table is SALARY table
having id, salary
Write a query to get name of those person who having more
than 10000$ salary

Answer Posted / pandian.m

SELECT t1.EmpNAME FROM EMPLOYEE as t1
INNER JOIN SALARY as t2 ON t1.EmpID=t2.id
GROUP BY t1.EmpID HAVING t2.salary>10000

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the tags in PHP is not a valid way to begin and end a PHP code block?

887


How to replace a substring in a given string?

632


Is null check in php?

603


How many open modes available when a file open in PHP?

731


Is it possible to extend the execution time of a php script?

596






When are you supposed to use endif to end the conditional statement?

605


How do you connet mysql database with php?

607


How to terminate the execution of a script in PHP?

651


How to return a value back to the function caller?

639


What is pdo classes?

651


Define metaphone()?

8378


What is the use of mvc in php?

614


What is the use of header() function in php?

621


What is the difference between explode and split?

565


Which function parses an English textual date or time into Unix timestamp in PHP.

651