码迷,mamicode.com
首页 >  
搜索关键字:where case when    ( 36516个结果
【数据结构】算法 Reverse Linked List II 反转链表的一部分
Reverse Linked List II 反转链表 Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list ...
分类:编程语言   时间:2021-03-10 13:27:14    阅读次数:0
mysql - 查看表结构命令
-- 查看表结构desc 表名; -- 查看表中字段的结构信息select table_name,column_name,column_comment from information_schema.columns where table_schema ='表所在的库' and table_name ...
分类:数据库   时间:2021-03-10 12:59:11    阅读次数:0
SQL 性能起飞了!
直接上干货 对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及order by涉及的列上建立索引。 应尽量避免在 where 子句中对字段进行 null 值判断,创建表时NULL是默认值,但大多数时候应该使用NOT NULL,或者使用一个特殊的值,如0,-1作为默 认值。 应尽量避免在 ...
分类:数据库   时间:2021-03-09 13:49:46    阅读次数:0
VB判断EXE文件是否打开。
试了好多种,这个方法蛮好用的。有更好的,希望大家多多指教。 Dim ProNo As Integer, ProStr As String ProNo = IsRunning("SSS.exe") If ProNo = 0 Then Shell App.path & "\SSS.exe '" & st ...
分类:其他好文   时间:2021-03-09 13:17:05    阅读次数:0
where 1=1 是什么鬼?SQL中有这玩意?
这段代码应该是由程序(例如Java)中生成的,where条件中 1=1 之后的条件是通过 if 块动态变化的。例如: String sql="select * from table_name where 1=1"; if( conditon 1) { sql=sql+" and var2=value ...
分类:数据库   时间:2021-03-09 13:11:19    阅读次数:0
大数据实战-Hive-技巧实战
1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex ...
分类:其他好文   时间:2021-03-08 14:17:52    阅读次数:0
Core Python | 2 - Core Python: Getting Started | 2.6 - Objects and Types | 2.6.4 - Python's Type System
Programming languages can be distinguished by several characteristics, but one of the most important is the nature of their type system. Python could ...
分类:编程语言   时间:2021-03-08 13:34:24    阅读次数:0
03-Java异常面试题
Java异常架构与异常关键字 Java异常简介 Java异常是Java提供的一种识别及响应错误的一致性机制。 Java异常机制可以使程序中异常处理代码和正常业务代码分离,保证程序代码更加优雅,并提高程序健壮性。在有效使用异常的情况下,异常能清晰的回答 what, where, why这3个问题:异常 ...
分类:编程语言   时间:2021-03-08 13:27:22    阅读次数:0
LeetCode 3.6-2
https://leetcode-cn.com/problems/delete-duplicate-emails/ 删除重复的电子邮箱 一、答案 DELECT p1 FROM Person p1, Person p2WHERE p1.Email = p2.Email AND p1.Id > p2.I ...
分类:其他好文   时间:2021-03-08 13:08:07    阅读次数:0
《丁奇-MySQL45讲-01》之归纳总结
01 | 基础架构:一条SQL查询语句是如何执行的? MySQL架构图 左侧图是丁奇老师原本的图,右侧是个人理解所画的,按照在文中的理论来说,个人认为应该是先查询缓存,如果查不到才会进行词法分析,比如有一条SQL:select * from T where ID = 10;,先去缓存中以该条SQL为 ...
分类:数据库   时间:2021-03-06 15:02:24    阅读次数:0
36516条   上一页 1 ... 27 28 29 30 31 ... 3652 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!