MySQL Easy Solution
IntuitionThe task is to filter valid emails from the Users table using a regular expression (REGEXP). A valid email in this context should:

Start with alphanum
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

The task is to filter valid emails from the Users table using a regular expression (REGEXP). A valid email in this context should:

- Start with alphanumeric characters or underscores ([a-zA-Z0-9_]+)

- Be followed by @

- Then only alphabet characters ([a-zA-Z]+)

- End with .com


# Approach
<!-- Describe your approach to solving the problem. -->

Use the REGEXP operator in SQL to define a pattern for valid emails:

1. Start (^) with one or more alphanumeric or underscore characters.

2. Then an @ symbol.

3. Followed by one or more letters.

4. Finally ends with .com using \.com$.
# Complexity
- Time complexity:O(n)
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:O(1)
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```mysql []
# Write your MySQL query statement below
SELECT *
FROM Users
WHERE email REGEXP '^[a-zA-Z0-9_]+@[a-zA-Z]+\\.com
```
```
['Database', 'MySQL']