I know this SQL query is wrong, or I am missing something, but I have a table full of messages. I want get all the messages where the user id is ether 1 or 2, and the reply\_to is 0. But with my SQL query, it shows the replies, and does not now the posts from user 2.

Here is my SQL

```
SELECT *
FROM `msg`
WHERE
  `userid` LIKE '1'
  OR
  `user_id` LIKE '2' AND `reply_to` LIKE '0'
ORDER BY `timestamp` DESC
LIMIT 0,10; 

```

How would I fix my query to accomplish what I want?