14 KiB
14 KiB
1 | taos> select repeat('hello' | 1) |
---|---|---|
2 | repeat('hello' | 1) | |
3 | taos> select repeat('hello' | 20) |
4 | repeat('hello' | 20) | |
5 | taos> SELECT REPEAT('a' | 2) |
6 | repeat('a' | 2) | |
7 | taos> select repeat('北京taos' | 6) |
8 | repeat('北京taos' | 6) | |
9 | taos> select repeat(nch1 | 6) from ts_4893.meters order by ts limit 5 |
10 | repeat(nch1 | 6) | |
11 | taos> select repeat(var1 | 6) from ts_4893.meters order by ts limit 5 |
12 | repeat(var1 | 6) | |
13 | taos> select position(nch1 in repeat(nch1 | 6)) from ts_4893.meters order by ts limit 5 |
14 | position(nch1 in repeat(nch1 | 6)) | |
15 | taos> select position(var1 in repeat(var1 | 6)) from ts_4893.meters order by ts limit 5 |
16 | position(var1 in repeat(var1 | 6)) | |
17 | taos> select position(nch1 in repeat(var1 | 6)) from ts_4893.meters where nch1 = var1 order by ts limit 5 |
18 | position(nch1 in repeat(var1 | 6)) | |
19 | taos> select position(var1 in repeat(nch1 | 6)) from ts_4893.meters where nch1 = var1 order by ts limit 5 |
20 | position(var1 in repeat(nch1 | 6)) | |
21 | taos> select repeat(nch1 | id) from ts_4893.meters where id > 0 order by ts limit 5 |
22 | repeat(nch1 | id) | |
23 | taos> select repeat(var1 | id) from ts_4893.meters where id > 0 order by ts limit 5 |
24 | repeat(var1 | id) | |
25 | taos> select repeat('nch1' | id) from ts_4893.meters where id > 0 order by ts limit 5 |
26 | repeat('nch1' | id) | |
27 | taos> select repeat('var1' | id) from ts_4893.meters where id > 0 order by ts limit 5 |
28 | repeat('var1' | id) | |
29 | taos> select repeat('taos' | 1) |
30 | repeat('taos' | 1) | |
31 | taos> select repeat('taos' | 2) |
32 | repeat('taos' | 2) | |
33 | taos> select repeat(name | 3) from ts_4893.d0 order by ts limit 10 |
34 | repeat(name | 3) | |
35 | taos> select repeat(name | 3) from ts_4893.meters order by ts limit 10 |
36 | repeat(name | 3) | |
37 | taos> select repeat(nch1 | 3) from ts_4893.d0 order by ts limit 10 |
38 | repeat(nch1 | 3) | |
39 | taos> select repeat(nch1 | 3) from ts_4893.meters order by ts limit 10 |
40 | repeat(nch1 | 3) | |
41 | taos> select repeat(var1 | 3) from ts_4893.d0 order by ts limit 10 |
42 | repeat(var1 | 3) | |
43 | taos> select repeat(var1 | 3) from ts_4893.meters order by ts limit 10 |
44 | repeat(var1 | 3) | |
45 | taos> select repeat(name | groupid) from ts_4893.d0 order by ts limit 10 |
46 | repeat(name | groupid) | |
47 | taos> select repeat(name | groupid) from ts_4893.meters order by ts limit 10 |
48 | repeat(name | groupid) | |
49 | taos> select repeat(nch1 | groupid) from ts_4893.d0 order by ts limit 10 |
50 | repeat(nch1 | groupid) | |
51 | taos> select repeat(nch1 | groupid) from ts_4893.meters order by ts limit 10 |
52 | repeat(nch1 | groupid) | |
53 | taos> select repeat(null | 3) |
54 | repeat(null | 3) | |
55 | taos> select repeat('taos' | null) |
56 | repeat('taos' | null) | |
57 | taos> select repeat('taos' | 0) |
58 | repeat('taos' | 0) | |
59 | taos> select repeat('' | 5) |
60 | repeat('' | 5) | |
61 | taos> select repeat('A' | 0) |
62 | repeat('A' | 0) | |
63 | taos> select repeat('A' | 10) |
64 | repeat('A' | 10) | |
65 | taos> select repeat('A B' | 5) |
66 | repeat('A B' | 5) | |
67 | taos> select repeat('ABC' | 1) |
68 | repeat('ABC' | 1) | |
69 | taos> select repeat('Hello' | 2) |
70 | repeat('Hello' | 2) | |
71 | taos> select repeat('HelloWorld' | 2) |
72 | repeat('HelloWorld' | 2) | |
73 | taos> select repeat('123' | 5) |
74 | repeat('123' | 5) | |
75 | taos> select repeat('12345' | 3) |
76 | repeat('12345' | 3) | |
77 | taos> select repeat('!@#' | 3) |
78 | repeat('!@#' | 3) | |
79 | taos> select repeat('你好' | 2) |
80 | repeat('你好' | 2) | |
81 | taos> select repeat('abc' | length('abc')) |
82 | repeat('abc' | length('abc')) | |
83 | taos> select repeat(upper('abc') | 4) |
84 | repeat(upper('abc') | 4) | |
85 | taos> select repeat(trim(' Hello ') | 3) |
86 | repeat(trim(' Hello ') | 3) | |
87 | name | repeat(name | 3) | |
88 | var1 | repeat(var1 | 2) | |
89 | nch1 | repeat(nch1 | 4) | |