Solution with re
Code on PythonCode on PostgreSQL
# Code on Python
```python
import pandas as pd
import re

def find_valid_emails(users: pd.DataFrame) -> pd.DataFrame:
    pattern = r"\w+\@[^\W\d_]+\.com"
    users["bool"] = users["email"].apply(lambda x: True if re.findall(pattern, x) else False)
    return users.loc[users["bool"]].drop(labels="bool", axis=1).sort_values(by="user_id", ascending=True)
```
---
# Code on PostgreSQL
```postgresql []
-- Write your PostgreSQL query statement below
SELECT
    *
FROM Users
WHERE email ~ '\w+\@[^\W\d_]+\.com'
ORDER BY user_id ASC;
```
['Python3', 'PostgreSQL', 'Pandas']