Alan Dershowitz said this quote

On television and in the movies, crimes are always solved. Nothing is left uncertain. By the end, the viewer knows whodunit. In real life, on the other hand, many murders remain unsolved, and even some that are 'solved' to the satisfaction of the police and prosecutors lack sufficient evidence to result in a conviction.