select * from tab where cast(num as int)>50