Access row of matrix based on when value is equal to something specific

Hi, Sorry that this is such a simple question but I have not been able to figure this out.

I have a 1787x2 matrix stored as an array (called dvh_bs, and I want to access the row in which the second column is equal to 0.5. How would I do this without constructing a for loop?

Thanks

a = rand(10,2)

b = a[:,2] .> 0.5

a[b,:]
5×2 Array{Float64,2}:
 0.610937   0.578347
 0.991965   0.681461
 0.553017   0.820753
 0.47222    0.997207
 0.0896303  0.740422

Just use .== or maybe isapprox instead of .>