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
What exactly is validating and sanitizing?
How to enable parsing?
Tell us how can we access the data sent through the url with the post method?
How can we display information of a variable and readable by human with php?
How do you destroy a particular or all Sessions?
What are the difference between abstract class and interface in oops?
Which function is used in php to delete a file?
What is $this in php?
What is parent __construct ();?
Is ruby on rails php?
How to create a directory?
What is the difference between for and foreach in php?
Is php a case sensitive language?
How can we destroy the cookie in php?
How can we make a constant in php?