听说这题难住大批高手,你也来试下吧。 原始数据 select * from t_jeff t 简单排序后数据 select * from t_jeff t order by t.VINNumber,t.channelid desc 需求,根据VINNumber分组(每对连接一起) ,再根据ChannelID倒序 1、VINNumb
- (void)viewDidLoad {[super viewDidLoad];// Do any additional setup after loading the view, typically from a nib.NSLog(@"%@", [self arrfrom:10]);}/** 随机数个数 */-(NSMutableArray *)arrfrom:(NSUInteger)