मराठी

Using the table EMPLOYEE of CARSHOWROOM database, list the day of birth for all employees whose salary is more than 25000.

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Querying and SQL Functions - Intext Questions [पृष्ठ ११]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 12
पाठ 1 Querying and SQL Functions
Intext Questions | Q 4. | पृष्ठ ११
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×