I need the sequence in the list starting with 'b' and the next value is 'e' in sql server quering and eliminate all he other : [![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/qwaTK.png


Here is the image and i need the query which shows a value 'b' followed by 'e' and eliminate rest of the rows