Testing where statements with columns.
Testing entry query & also testing exception it throws.