码迷,mamicode.com
首页 >  
搜索关键字:select case    ( 49751个结果
重要的sql语句
1:oracle 分页 select * from (select t.*, rownum rn from (select * from menu order by id desc) t where rownum < 10) where rn >=5 2: mysql 分页 select * fro ...
分类:数据库   时间:2021-02-09 12:24:17    阅读次数:0
ReentrantLock 源代码之我见
ReentrantLock,英文意思是可重入锁。从实际代码实现来说,ReentrantLock也是互斥锁(Node.EXCLUSIVE)。与互斥锁对应的的,还有共享锁Node.SHARED ReentrantLock 集成了Lock接口,Lock接口主要功能有上锁lock()、尝试上锁tryLock ...
分类:其他好文   时间:2021-02-09 12:01:31    阅读次数:0
MYSQL
# 查询主表相关信息,并且显示最新的记录 SELECT type.number as '序号', type.date as '时间', type.name as '名称', main.content as '项目名称', main.manager as '负责人', unit.name as '单位 ...
分类:数据库   时间:2021-02-09 12:01:19    阅读次数:0
新建vue项目
### 新建vue项目 npm install @vue/cli -g // 如果安装过脚手架,不必再次安装 vue create vision 手动选择一些特性 > Manually select features 空格选择一些插件 Check the features needed for yo ...
分类:其他好文   时间:2021-02-09 11:46:36    阅读次数:0
2020 BIT冬训-模拟与暴力 O - The Answer to the Ultimate Question of Life, The Universe, and Everything. 计蒜客 - 42545
Problem Description For decades, scientists have wondered whether each of the numbers from 0 to 100 could be represented as the sum of three cubes, wh ...
分类:其他好文   时间:2021-02-08 12:44:17    阅读次数:0
python clickhouse 连接数据库
#clickhouse: 默认端口8123 或90001.在sql语句连接其他clickhouse数据库,参数:ip端口,数据库表,用户名,密码select * from remote('192.168.1.12:8123',mysql_test.r_app_rank,'root','123456' ...
分类:数据库   时间:2021-02-08 12:25:24    阅读次数:0
Mybatis 动态 sql
元素 元素 作用 备注 if 判断语句 单条件分支判断 choose、when、otherwise 相当于 java 的 case when 多条件分支判断 Trim、where、set 辅助元素 用于处理 sql 拼装问题 foreach 循环语句 在 in 语句等列举条件常用,常用于实现批量操作 ...
分类:数据库   时间:2021-02-08 12:13:21    阅读次数:0
26.服务端单线程模式下性能瓶颈测试
VS2015 提供的性能探查器,可以看到程序的哪部分代码占用了多少的cpu 可以看到 FD_SET select FD_ISSET recv这几个个函数占用的cpu比较高 将服务端改造成多线程: 1.分离处理客户端连接的函数,放到线程中。减少客户端并发连接时间。 2.分摊占用cpu的操作,放到几个线 ...
分类:编程语言   时间:2021-02-08 11:58:13    阅读次数:0
EF基础篇-DB First
EDM entity data model 实体数据模型 Conceptual models 概念模型 Mappings 连接 Storage models 存储模型 Orm object relational mapping 对象关系映射 EF entity framework 是基于ADO.Ne ...
分类:数据库   时间:2021-02-06 12:17:48    阅读次数:0
Mysql必知必会挑战题和一些乱七八糟东西
SQL sql语句执行顺序 (8) SELECT (9)DISTINCT<select_list> (1) FROM <left_table> (3) <join_type> JOIN <right_table> (2) ON <join_condition> (4) WHERE <where_co ...
分类:数据库   时间:2021-02-06 12:14:46    阅读次数:0
49751条   上一页 1 ... 45 46 47 48 49 ... 4976 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!