如何根据真或假值对员工进行排序

问题描述:

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

有很多员工,有专栏告诉我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[^]