当业务逻辑越来越复杂时,这个查询的需求会越来越多,今天写成笔记记录下来,防止再忘记 虚拟一个业务,查询通知表,时间大于今天,管理员id在1到10之间,通知状态为0,重点是根据管理员分组,取每个分组的时间最大的3条 注:主查询和子查询的其他条件需保持一致,子查询的分组依据字段(admin_id)需相等 ...
分类:
数据库 时间:
2017-12-12 13:30:57
阅读次数:
120
解决方案 1、 HTML 先建一个div层作为公告显示区,里面包裹一个公告列表(ul); <div class="notice"> <ul> <li>第1条公告第1条公告第1条公告第1条公告第1条公告第1条公告</li> <li>第2条公告第2条公告第2条公告第2条公告第2条公告第2条公告</li> ...
分类:
Web程序 时间:
2017-12-11 23:09:14
阅读次数:
345
Nginx配置参数中文说明。#定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes 8;#全局错误日志定义类型,[ debug | info | notice | warn | error | crit ]err ...
分类:
其他好文 时间:
2017-12-09 12:11:22
阅读次数:
272
You notice that the performance of the database has degraded because of frequent checkpoints.Which two actions resolve the issue? (Choose two.)A.Disab ...
分类:
其他好文 时间:
2017-12-08 12:03:03
阅读次数:
122
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with thi ...
分类:
编程语言 时间:
2017-12-06 13:10:38
阅读次数:
162
1、下载地址https://tomcat.apache.org/download-70.cgi 2、解压 tar -xvzf apache-tomcat-7.0.82.tar.gz 3、查看文件夹信息 [root@localhost apache-tomcat-7.0.82]# lsbin conf ...
分类:
系统相关 时间:
2017-12-06 00:55:54
阅读次数:
214
#user nobody; user nginx nginx; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid ...
分类:
其他好文 时间:
2017-12-04 18:58:05
阅读次数:
189
author : headsen chen date : 2017-12-04 10:32:44 notice :This article is created by headsen chen himself and not allowed to copy.or you will be treate ...
分类:
编程语言 时间:
2017-12-04 11:43:27
阅读次数:
112
1 // Fill out your copyright notice in the Description page of Project Settings. 2 3 #pragma once 4 #include"CoreMinimal.h" 5 #include "Components/Act... ...
分类:
其他好文 时间:
2017-12-03 13:00:12
阅读次数:
211
最近在学习workerman的时候比较频繁的接触到回调函数,使用中经常会因为worker的使用方式不同,会用这两种不同的方式去调用外部的worker变量,这里就整理一下PHP闭包获取外部变量和global关键字声明变量的区别。 闭包 闭包是一个常见的概念,我们通常可以将其与回调函数配合使用,可以使代 ...
分类:
Web程序 时间:
2017-12-02 21:07:28
阅读次数:
284