php – 如何比较高度值
发布时间:2020-12-13 17:07:18 所属栏目:PHP教程 来源:网络整理
导读:你好 ?我想知道如何将身高与其他用户身高进行比较 这是我的查询 select * from tbl_Member where height between 3'8'' and 7'0''; 这里的高度是其他用户的高度 请告诉我正确的查询 解决方法 我知道它很脏,但是你走了 select * from tbl_Member where concat
你好
?我想知道如何将身高与其他用户身高进行比较 这是我的查询 select * from tbl_Member where height between 3'8'' and 7'0''; 这里的高度是其他用户的高度 解决方法
我知道它很脏,但是你走了
select * from tbl_Member where concat(format(left(height,1),0),lpad(format(substr(height,3,2),0 ),2,'0')) between 308 and 700 3’8”变为3087’12”变为712 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |