数据的完整性 数据的完整性用于确保数据库数据遵从一定的商业和逻辑规则。数据的完整性使用约束、触发器、函数的方法来实现。在这三个方法中,约束易于维护,具备最好的性能,所以作为首选。 约束:not null、unique(可以为空,不能重复) 、primary key、foreign key、check ...
分类:
数据库 时间:
2019-12-30 22:55:48
阅读次数:
85
群 群的定义 $(i):\forall a \in G,\exists a^{ 1},a \cdot a^{ 1}=e$ $(ii)$封闭性 群的判定定理: $\forall a,b\in G,\exists x,y,ax=b \quad and \quad ya=b${证明这个的话,我们只需取a, ...
分类:
其他好文 时间:
2019-12-30 22:47:32
阅读次数:
92
MySQL目前主要有以下几种索引类型:1.普通索引2.唯一索引3.主键索引4.组合索引5.全文索引 二、语句 CREATE TABLE table_name[col_name data type] [unique|fulltext][index|key][index_name](col_name[l ...
分类:
数据库 时间:
2019-12-30 19:26:18
阅读次数:
80
创建索引时使用的索引方式,有btree和hash两种 CREATE [UNIQUE | FULLTEXT | SPATIAL] INDEX index_name [index_type] ON tbl_name (key_part,...) [index_option] [algorithm_opt ...
分类:
数据库 时间:
2019-12-30 19:07:30
阅读次数:
390
1.与角色无关的参数 ◆ DB_UNIQUE_NAME:数据库唯一名。对于物理standby,DB_NAME必须相同,对于逻辑standby,DB_NAME可以不同,所以在10g中引入DB_UNIQUE_NAME参数用来区分DG配置中的每个数据库,默认值为DB_NAME. 例:DB_UNIQUE_N ...
分类:
其他好文 时间:
2019-12-30 11:23:03
阅读次数:
562
一、Tkinter? 1.组件的大致使用步骤 (1)创建总面板 (2)创建面板上的各种组件; i.指定组件的父组件,即依附关系;ii.利用相应的属性对组件进行设置;iii.给组件安排布局。 (3)同步骤2相似,创建好多个组件; (4)最后,启动总面板的消息循环 import tkinter ? ba ...
分类:
编程语言 时间:
2019-12-30 09:54:40
阅读次数:
949
```javascript var WordFilter = function (words) { this.trie = {}, idx = 0; for (let word of words) { let m = word.length; let paths = []; for (let i = ...
分类:
其他好文 时间:
2019-12-29 23:37:01
阅读次数:
82
题号 题目链接 说明 基础 27 Remove Element 26 Remove Duplicates from Sorted Array 80 Remove Duplicates from Sorted Array II 277 Find the Celebrity 189 Rotate Arr ...
分类:
其他好文 时间:
2019-12-29 12:57:11
阅读次数:
77
原题链接在这里:https://leetcode.com/problems/minimum-area-rectangle-ii/ 题目: Given a set of points in the xy-plane, determine the minimum area of any rectangl ...
分类:
其他好文 时间:
2019-12-29 11:27:56
阅读次数:
68
题目如下: You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You nee ...
分类:
其他好文 时间:
2019-12-29 10:57:18
阅读次数:
68