MySql, Postgresql
Intuition\n\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Tim
# Intuition\n![w.png](https://assets.leetcode.com/users/images/7769c0a0-f603-4e87-bf04-726716501002_1700940431.3017848.png)\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nSELECT name FROM SalesPerson\nWHERE sales_id NOT IN (\n  SELECT sales_id FROM Orders AS O\n  LEFT JOIN Company AS C ON O.com_id = C.com_id\n  WHERE name = \'RED\'\n)\n```
['MySQL', 'MS SQL Server']