|数组中常用的内置方法|-push()与pop()|--push()是往数组的尾部添加,同时返回新数组的长度 var attr = [1,2,3,4,5];var attr2 = [6,7,8,9,0];var get = attr.push(attr2);console.log(attr);console.log(get); |--pop()是删除数组的最后一项,同时给我返回删除的这一项 var attr = [1,2,3,4,5]; var get = attr.p…
--语法:select * from 表名 *表示查询所有字段数据 select * from Class select * from Student select * from RankingList --常量列 select 1,2,3 --计算列 select '班级:'+Name from Class select Name,数字=1,Id%2 from Class where Id%2=0 --别名 1.别名=值 2.值 as 别名 3. 值 别名 select 班级名称=Name f…