摘要:
1.数组 1.1 声明 int [] a ; int b[]; 1.2 创建对象 a = new int[2]; b = new int[4]; 1.3 初始化 a[1] = 1; a[2] = 1; for(int i=0;i<4;i++){ b[i] = 2; } int [] c = {1,2 阅读全文
摘要:
1.建表 CREATE TABLE `t_log_code_num` ( `id` int(11) NOT NULL AUTO_INCREMENT, `server_id` int(3) NOT NULL, `date` date NOT NULL, `code` varchar(20) NOT N 阅读全文
摘要:
select c.cn as '省',c.cn_city as '市', SUM(CASE t.placeId when 1 then t.num else 0 end ) as '餐饮' , SUM(CASE t.placeId when 2 then t.num else 0 end ) as 阅读全文