Skip to content

Commit 6d82276

Browse files
committed
提交1.0的相关信息
1 parent 218cf67 commit 6d82276

3 files changed

Lines changed: 37 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ Third, kdb is one of my favorite football players, kevin de bruyne, he is a grea
99

1010
design: doc/design.md in https://github.com/liubinbin/kdb
1111

12-
usage: doc/usage.md in https://github.com/liubinbin/kdb
12+
usage: doc/usage.md in https://github.com/liubinbin/kdb
13+
14+
release: doc/version1.0.md in https://github.com/liubinbin/kdb

doc/release/sql-template-1.0

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
describe database kdb
2+
3+
describe table stu
4+
5+
create table stu(id int, age int, name varchar(256))
6+
7+
insert into stu(id, age, name) VALUES (1, 29, 'Alice')
8+
9+
insert into stu (id, age, name) VALUES (1, 29, 'Alice'),(2, 32, 'Bin')
10+
11+
select count(*) from stu
12+
13+
select id,age,name from stu
14+
15+
select id,age from stu
16+
17+
select id from stu
18+
19+
select * from stu where id = 1
20+
21+
select * from stu where id = 1 and name = 'Alice'
22+
23+
select id,name from stu
24+
25+
select * from stu order by age limit 10
26+
27+
delete from stu where id = 1 and name = 'Alice'
28+
29+
select * from stu where id = 1 order by b limit 10
30+
31+
select id,name from stu where id = 1 order by b limit 10

doc/release/versin1.0

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kdb 项目 1.0 版本说明。
2+
3+
本项目 1.0 已实现 sql-template-1.0 中语句的相关功能。

0 commit comments

Comments
 (0)