Ad
Code
Diff
  • SELECT *
    FROM employees
    ORDER BY salary DESC
    LIMIT 10
    • -- Code Here
    • SELECT *
    • FROM employees
    • ORDER BY salary DESC
    • LIMIT 10

SELECT *
FROM employees
WHERE salary > 5000000 AND months >= 12

Code
Diff
  • SELECT *
    FROM employees
    WHERE salary > 5000000 AND months >= 12 
    ORDER BY salary DESC
    • -- Code Here
    • SELECT *
    • FROM employees
    • WHERE salary > 5000000 AND months >= 12
    • ORDER BY salary DESC