Osio 1. Luku 9
single
Challenge: Recently Hired Employees
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
List all employees who were hired on or after the date obtained by subtracting 6 months from the fixed date '2021-01-02' using a subquery. Use the employees table and filter by hire_date so that only those hired on or after this calculated date are included. The subquery should determine the cutoff date by subtracting 6 months from '2021-01-02'.
- Use a subquery to calculate the cutoff date as 6 months before
'2021-01-02'. - Select all columns from the
employeestable for employees with ahire_dateon or after this cutoff date. - Only include employees who meet this recent hire date criteria.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 9
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme