SELECT col1,col2,col3 from sometable where col5 = col8