upd: 常用 SQL 语句 (#237)

Co-authored-by: jinxm <jin.xiaoman@iwhalecloud.com>
Co-authored-by: KaiyiWing <Zhang.kaiyi42@gmail.com>
This commit is contained in:
jinxm
2022-07-18 23:34:19 +08:00
committed by GitHub
parent 0721cd3974
commit db24b3d9e3
5 changed files with 169 additions and 5 deletions

View File

@@ -0,0 +1,74 @@
[
{
"name": "alter table",
"trans": [
"alter table 用来更新现存表的模式。可以用 create table 来创建一个新表。"
]
},
{
"name": "commit",
"trans": [
"commit 用来将事务写入数据库。"
]
},
{
"name": "create index",
"trans": [
"create index 用来为一列或多列创建索引。"
]
},
{
"name": "create table",
"trans": [
"create table 用来创建新的数据库表。可以用 alter table 来更新一个现存表的模式。"
]
},
{
"name": "create view",
"trans": [
"create view 用来创建一个或多个表的视图。"
]
},
{
"name": "delete",
"trans": [
"delete 用来从表中删除一行或多行。"
]
},
{
"name": "drop",
"trans": [
"drop 用来永久性地删除数据库对象(表、视图和索引等)"
]
},
{
"name": "insert",
"trans": [
"insert 用来对表添加一个新行。"
]
},
{
"name": "insert select",
"trans": [
"insert select 用来将 select 的结果插入到表中。"
]
},
{
"name": "rollback",
"trans": [
"rollback 用来撤销事务块。"
]
},
{
"name": "select",
"trans": [
"select 用来从一个或多个表(或视图)中检索数据。"
]
},
{
"name": "update",
"trans": [
"update 用来对表中的一行或多行进行更新。"
]
}
]

View File

@@ -0,0 +1,74 @@
[
{
"name": "ALTER TABLE",
"trans": [
"ALTER TABLE 用来更新现存表的模式。可以用 CREATE TABLE 来创建一个新表。"
]
},
{
"name": "COMMIT",
"trans": [
"COMMIT 用来将事务写入数据库。"
]
},
{
"name": "CREATE INDEX",
"trans": [
"CREATE INDEX 用来为一列或多列创建索引。"
]
},
{
"name": "CREATE TABLE",
"trans": [
"CREATE TABLE 用来创建新的数据库表。可以用 ALTER TABLE 来更新一个现存表的模式。"
]
},
{
"name": "CREATE VIEW",
"trans": [
"CREATE VIEW 用来创建一个或多个表的视图。"
]
},
{
"name": "DELETE",
"trans": [
"DELETE 用来从表中删除一行或多行。"
]
},
{
"name": "DROP",
"trans": [
"DROP 用来永久性地删除数据库对象(表、视图和索引等)"
]
},
{
"name": "INSERT",
"trans": [
"INSERT 用来对表添加一个新行。"
]
},
{
"name": "INSERT SELECT",
"trans": [
"INSERT SELECT 用来将 SELECT 的结果插入到表中。"
]
},
{
"name": "ROLLBACK",
"trans": [
"ROLLBACK 用来撤销事务块。"
]
},
{
"name": "SELECT",
"trans": [
"SELECT 用来从一个或多个表(或视图)中检索数据。"
]
},
{
"name": "UPDATE",
"trans": [
"UPDATE 用来对表中的一行或多行进行更新。"
]
}
]

View File

@@ -26,7 +26,7 @@ export const dictionaries: Dictionary[] = [
description: '高考常见词 3500',
category: '英语学习',
url: './dicts/GaoKao_3500.json',
length: 3876,
length: 3893,
},
{
id: 'sat',
@@ -227,6 +227,22 @@ export const dictionaries: Dictionary[] = [
url: './dicts/csharp-list.json',
length: 36,
},
{
id: 'sql-lower-case',
name: 'SQL: 常用语句 lower case',
description: 'SQL 常用语句 小写',
category: '代码练习',
url: './dicts/SQL_statement_lower-case.json',
length: 12,
},
{
id: 'sql-upper-case',
name: 'SQL: 常用语句 upper case',
description: 'SQL 常用语句 大写',
category: '代码练习',
url: './dicts/SQL_statement_upper-case.json',
length: 12,
},
{
id: 'san1',
name: '三年级上',
@@ -596,19 +612,19 @@ export const dictionaries: Dictionary[] = [
length: 2681,
},
{
id: '4000 Essential English Words1',
id: '4000_Essential_English_Words1',
name: 'Essential Words',
description: '4000 Essential English Words meaning',
category: 'en2en',
url: './dicts/4000 Essential English Words-meaning.json',
url: './dicts/4000_Essential_English_Words-meaning.json',
length: 3600,
},
{
id: '4000 Essential English Words2',
id: '4000_Essential_English_Words2',
name: 'Essential Words',
description: '4000 Essential English Words sentence',
category: 'en2en',
url: './dicts/4000 Essential English Words-sentence.json',
url: './dicts/4000_Essential_English_Words-sentence.json',
length: 3600,
},
{