-
Notifications
You must be signed in to change notification settings - Fork 0
/
result.txt
95 lines (95 loc) · 2.59 KB
/
result.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
DB_TESTPROMPT> 'a' table is created
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> +---+
| C |
+---+
| 3 |
| 4 |
| 3 |
+---+
DB_TESTPROMPT> +--------+
| NEWCOL |
+--------+
| 3 |
| 4 |
| 3 |
+--------+
DB_TESTPROMPT> +--------+
| NEWCOL |
+--------+
| 4 |
+--------+
DB_TESTPROMPT> +--------+
| NEWCOL |
+--------+
| 4 |
+--------+
DB_TESTPROMPT> Selection has failed: fail to resolve 'd'
DB_TESTPROMPT> Selection has failed: 'b' does not exist
DB_TESTPROMPT> Where clause try to reference tables which are not specified
DB_TESTPROMPT> Insertion has failed: Types are not matched
DB_TESTPROMPT> 2 row(s) are deleted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> 'b' table is created
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> +---+---+---+
| C | D | E |
+---+---+---+
+---+---+---+
DB_TESTPROMPT> +---+------+------------+
| C | D | E |
+---+------+------------+
| 3 | aaaa | 2019-05-14 |
| 4 | bbbb | 2019-05-14 |
+---+------+------------+
DB_TESTPROMPT> 'c' table is created
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> +------+---+------+
| D | C | E |
+------+---+------+
| aaaa | 3 | 7 |
| aaaa | 3 | null |
+------+---+------+
DB_TESTPROMPT> 1 row(s) are deleted
DB_TESTPROMPT> +---+------+------------+
| C | D | E |
+---+------+------------+
| 4 | bbbb | 2019-05-14 |
| 4 | aaaa | null |
+---+------+------------+
DB_TESTPROMPT> +------+------+------+
| D | C | E |
+------+------+------+
| null | null | 7 |
| null | null | null |
+------+------+------+
DB_TESTPROMPT> +------+------+---+
| D | C | E |
+------+------+---+
| null | null | 7 |
+------+------+---+
DB_TESTPROMPT> +------+------+------+
| D | C | E |
+------+------+------+
| null | null | 7 |
| null | null | null |
+------+------+------+
DB_TESTPROMPT> Where clause try to compare incomparable values
DB_TESTPROMPT> 1 row(s) are deleted
DB_TESTPROMPT> Insertion has failed: Referential integrity violation
DB_TESTPROMPT> 'd' table is created
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> The row is inserted
DB_TESTPROMPT> 1 row(s) are deleted
1 row(s) are not deleted due to referential integrity
DB_TESTPROMPT> 1 row(s) are deleted
DB_TESTPROMPT> 1 row(s) are deleted
DB_TESTPROMPT>