MySQL SOLUTION | Beats 90.29% RUNTIME | EASY INTUTIVE SOLUTION |RegExp
Complexity
Time complexity : O(N)

Space complexity : O(1)
CodeORDER BY user_id;

# 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
```
ORDER BY user_id;
```
['MySQL']