如何根据真或假值对员工进行排序 [英] How Can I Sort Employee Base On True Or False Value

查看:60
本文介绍了如何根据真或假值对员工进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的编码生活有一个有趣的任务,

有很多员工,有专栏告诉我IsHasBike让该员工返回真或假,我想对所有基础进行排序这一列,首先意味着所有那些为IsHasBike返回true的员工然后是IsHasBike false employee.is有什么办法?

i have an interesting task for my coding life,
there are a number of employees ,there is column that tell me IsHasBike for that employee return true or false,i want to sort all base on this column,mean first all those employee that return true for IsHasBike and then IsHasBike false employee.is there any way??

推荐答案

你需要学习

1. SQL WHERE [ ^ ];并且

2. ORDER BY [ ^ ]
You need to learn
1. SQL WHERE[^]; and
2. ORDER BY[^]


这篇关于如何根据真或假值对员工进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆