一、逻辑存储结构 逻辑存储结构是Oracle数据库存储结构的核心内容,对Oracle的所有操作都会涉及逻辑存储结构。逻辑存储结构是从逻辑的角度分析数据库的构成,是对数据库存储结构在逻辑概念上的划分。Oracle数据库(Database)从逻辑存储结构上讲,主要包括表空间(Tablespace)、段( ...
分类:
数据库 时间:
2020-06-08 10:52:25
阅读次数:
80
Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop o ...
分类:
其他好文 时间:
2020-06-08 00:29:09
阅读次数:
53
package LeetCode_1143 /** * 1143. Longest Common Subsequence * https://leetcode.com/problems/longest-common-subsequence/description/ * * Given two str ...
分类:
其他好文 时间:
2020-06-07 12:48:01
阅读次数:
57
mysql查询非重复的行内容,不重复的记录数count(distinct xx) count去重 id, p_id, p_name , p_content , p_time 1 343 aaa aaaaaa 2012-09-01 2 344 bbb bbbbbb 2012-09-02 3 321 c ...
分类:
数据库 时间:
2020-06-05 13:31:40
阅读次数:
259
7-1 Maximum Subsequence Sum(25 分) Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+ ...
分类:
编程语言 时间:
2020-06-03 13:26:04
阅读次数:
52
String dept = "";try { dept = BdPsndoc.dao. findFirst("select distinct psnname,psncode from bd_psndoc where psnname = \'"+ e.get("申请人") +"\'").getStr( ...
分类:
编程语言 时间:
2020-06-02 13:20:32
阅读次数:
79
1、数据准备 1、MongoDB数据,工具为:Robo 3T mongo-data 2、MySQL数据 MySQL 2、新增语句 方法 说明 语法 备注 新增 MongoDB db.getCollection('user').insert({"userId" : "014","uclass" : " ...
分类:
数据库 时间:
2020-06-02 13:19:21
阅读次数:
90
一. 查询流程 1.查询流程中, 每个操作都产生一个虚拟表, 除了最后一个,其他对用户都是透明的. 2.查询流程 3. DISTINCT 如果在查询中指定了DISTINCT子句,则会创建一张内存临时表(内存中放不下就放磁盘),表结构和虚表一样,不同的是distinct列,增加了一个唯一索引,以此来去 ...
分类:
数据库 时间:
2020-06-02 09:29:24
阅读次数:
100
一、区别 给定两个字符串,求LCS 最长公共子串 (Longest Common Substring): 要求是连续的字符串 最长公共子序列(Longest Common Subsequence):要求子字符串相对顺序不变即可 二、动态规划求解 1、最长公共子串 给定两个字符串A 和 B 用二维数组 ...
分类:
其他好文 时间:
2020-06-01 23:43:29
阅读次数:
64
相关博客: SQL中ROW_NUMBER和APPLY在处理TOP N等类似问题的一点比较 SQL Server-聚焦APPLY运算符(二十七) 你真的会玩SQL吗?冷落的Top和Apply 有以下应用场景 当用到了row_number over做分组排序时,可以考虑用apply...top替换 ro ...
分类:
移动开发 时间:
2020-05-31 00:36:42
阅读次数:
88