I am using MYSQL and am looking for a way to only select a row where it's previous and next row have a field called fav\_num with a value of '3'

For example I have 6 rows and two fields. The fields are ID and fav\_number. 

```
 ID| fav_num
 1 | 3
 2 | 2
 3 | 3
 4 | 7
 5 | 2
 6 | 9

```

I'd like to find a way to return the ID from the table where the previous and next row have a fav\_num of 3.
This query would then return ID 2.

I apologize if my question sounds confusing.