Advertisements
Advertisements
प्रश्न
Using the table EMPLOYEE of CARSHOWROOM database, list the day of birth for all employees whose salary is more than 25000.
कोड लेखन
Advertisements
उत्तर
SELECT EmpName, DAYNAME(DOB) AS Day_of_Birth
FROM EMPLOYEE
WHERE Salary > 25000;
Explanation:
- DAYNAME(DOB) returns the name of the day (e.g., Monday, Tuesday) from the employee's date of birth.
- WHERE Salary > 25000 filters employees whose salary is greater than 25000.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
