码迷,mamicode.com
首页 >  
搜索关键字:group by case when    ( 29534个结果
select查询不重复用户记录(转)
转 select *, count(distinct name) from table group by name结果:id name count(distinct name) 1 a 1 2 b 1 3 c 1 最后一项是多余的,不用管就行了,目的达到。原来mysql这么笨,轻轻一下就把他骗过去了 ...
分类:其他好文   时间:2021-04-24 11:59:34    阅读次数:0
Vue的组件名大小写
定义组件名的方式有两种: 1.使用 kebab-case(短横线分隔命名) 当使用 kebab-case (短横线分隔命名) 定义一个组件时,你也必须在引用这个自定义元素时使用 kebab-case,例如 <my-component-name>。 2.使用 PascalCase (首字母大写命名) ...
分类:其他好文   时间:2021-04-24 11:57:32    阅读次数:0
Spring Boot下使用JPA报错:'hibernate.dialect' not set的解决办法
Spring Boot 下使用JPA,报org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set错误,异常信息如下: Caused ...
分类:编程语言   时间:2021-04-23 12:28:00    阅读次数:0
linux shell脚本中流程控制语句 if 、for、while、case
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:系统相关   时间:2021-04-22 16:20:40    阅读次数:0
测试框架之一 强大的unittest详解
一、什么是unittest unittest是Python单元测试框架,类似于JUnit框架。 unittest中有4个重要的概念:test fixture, test case, test suite, test runner Testcase: 一个TestCase的实例就是一个测试用例。什么是 ...
分类:其他好文   时间:2021-04-22 16:10:25    阅读次数:0
Javascript Promise技术
Simple explain: In ES2018 When the catch method is called with argument onRejected, the following steps are taken: Let promise be the this value. Retu ...
分类:编程语言   时间:2021-04-22 16:05:11    阅读次数:0
【事件类】雅思口语
【事件】 bike trip Describe an unforgettable bike trip you had You should say: When and where you had the trip Who you went with Why you had the trip by b ...
分类:其他好文   时间:2021-04-21 12:57:26    阅读次数:0
kafak配置说明
spring: kafka: bootstrap-servers: 112.126.74.249:9092,112.126.74.249:9093 ###########【初始化生产者配置】########### producer: # 应答级别:多少个分区副本备份完成时向生产者发送ack确认(可选 ...
分类:其他好文   时间:2021-04-21 12:08:09    阅读次数:0
java学习之字符串
Java字符串 三个字符串类 String (不可变) StringBuilder (可变) StringBuffer(可变) 空字符串不是null,空字符串分配了空间,而null没有分配空间 不可变字符串的创建 package chapter8; public class chapt01 { pu ...
分类:编程语言   时间:2021-04-21 12:02:46    阅读次数:0
Leetcode 25. K 个一组翻转链表
给你一个链表,每 k 个节点一组进行翻转,请你返回翻转后的链表。 k 是一个正整数,它的值小于或等于链表的长度。 如果节点总数不是 k 的整数倍,那么请将最后剩余的节点保持原有顺序。 进阶: 你可以设计一个只使用常数额外空间的算法来解决此问题吗?你不能只是单纯的改变节点内部的值,而是需要实际进行节点 ...
分类:其他好文   时间:2021-04-19 15:23:58    阅读次数:0
29534条   上一页 1 ... 15 16 17 18 19 ... 2954 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!