Lines Matching refs:execsql

23   set v [catch {execsql {SELECT * FROM test1}} msg]
27 execsql {CREATE TABLE test1(f1 int, f2 int)}
30 set v [catch {execsql {SELECT * FROM test1, test2}} msg]
34 set v [catch {execsql {SELECT * FROM test2, test1}} msg]
38 execsql {INSERT INTO test1(f1,f2) VALUES(11,22)}
44 execsql {SELECT f1 FROM test1}
47 execsql {SELECT f2 FROM test1}
50 execsql {SELECT f2, f1 FROM test1}
53 execsql {SELECT f1, f2 FROM test1}
56 execsql {SELECT * FROM test1}
59 execsql {SELECT *, * FROM test1}
62 execsql {SELECT *, min(f1,f2), max(f1,f2) FROM test1}
65 execsql {SELECT 'one', *, 'two', * FROM test1}
68 execsql {CREATE TABLE test2(r1 real, r2 real)}
69 execsql {INSERT INTO test2(r1,r2) VALUES(1.1,2.2)}
72 execsql {SELECT * FROM test1, test2}
75 execsql {SELECT *, 'hi' FROM test1, test2}
78 execsql {SELECT 'one', *, 'two', * FROM test1, test2}
81 execsql {SELECT test1.f1, test2.r1 FROM test1, test2}
84 execsql {SELECT test1.f1, test2.r1 FROM test2, test1}
87 execsql {SELECT * FROM test2, test1}
90 execsql {SELECT * FROM test1 AS a, test1 AS b}
93 execsql {SELECT max(test1.f1,test2.r1), min(test1.f2,test2.r2)
97 execsql {SELECT min(test1.f1,test2.r1), max(test1.f2,test2.r2)
103 execsql "
121 set v [catch {execsql {SELECT count(f1,f2) FROM test1}} msg]
125 set v [catch {execsql {SELECT count(f1) FROM test1}} msg]
129 set v [catch {execsql {SELECT Count() FROM test1}} msg]
133 set v [catch {execsql {SELECT COUNT(*) FROM test1}} msg]
137 set v [catch {execsql {SELECT COUNT(*)+1 FROM test1}} msg]
141 execsql {SELECT count(*),count(a),count(b) FROM t3}
144 execsql {SELECT count(*),count(a),count(b) FROM t4}
147 execsql {SELECT count(*),count(a),count(b) FROM t4 WHERE b=5}
150 set v [catch {execsql {SELECT min(*) FROM test1}} msg]
154 set v [catch {execsql {SELECT Min(f1) FROM test1}} msg]
158 set v [catch {execsql {SELECT MIN(f1,f2) FROM test1}} msg]
162 execsql {SELECT coalesce(min(a),'xyzzy') FROM t3}
165 execsql {SELECT min(coalesce(a,'xyzzy')) FROM t3}
168 execsql {SELECT min(b), min(b) FROM t4}
171 set v [catch {execsql {SELECT MAX(*) FROM test1}} msg]
175 set v [catch {execsql {SELECT Max(f1) FROM test1}} msg]
179 set v [catch {execsql {SELECT max(f1,f2) FROM test1}} msg]
183 set v [catch {execsql {SELECT MAX(f1,f2)+1 FROM test1}} msg]
187 set v [catch {execsql {SELECT MAX(f1)+1 FROM test1}} msg]
191 execsql {SELECT coalesce(max(a),'xyzzy') FROM t3}
194 execsql {SELECT max(coalesce(a,'xyzzy')) FROM t3}
197 set v [catch {execsql {SELECT SUM(*) FROM test1}} msg]
201 set v [catch {execsql {SELECT Sum(f1) FROM test1}} msg]
205 set v [catch {execsql {SELECT sum(f1,f2) FROM test1}} msg]
209 set v [catch {execsql {SELECT SUM(f1)+1 FROM test1}} msg]
213 execsql {SELECT sum(a) FROM t3}
216 set v [catch {execsql {SELECT XYZZY(f1) FROM test1}} msg]
220 set v [catch {execsql {SELECT SUM(min(f1,f2)) FROM test1}} msg]
224 set v [catch {execsql {SELECT SUM(min(f1)) FROM test1}} msg]
231 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1<11}} msg]
235 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1<=11}} msg]
239 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1=11}} msg]
243 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1>=11}} msg]
247 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1>11}} msg]
251 set v [catch {execsql {SELECT f1 FROM test1 WHERE f1!=11}} msg]
255 set v [catch {execsql {SELECT f1 FROM test1 WHERE min(f1,f2)!=11}} msg]
259 set v [catch {execsql {SELECT f1 FROM test1 WHERE max(f1,f2)!=11}} msg]
263 set v [catch {execsql {SELECT f1 FROM test1 WHERE count(f1,f2)!=11}} msg]
270 set v [catch {execsql {SELECT f1 FROM test1 ORDER BY f1}} msg]
274 set v [catch {execsql {SELECT f1 FROM test1 ORDER BY -f1}} msg]
278 set v [catch {execsql {SELECT f1 FROM test1 ORDER BY min(f1,f2)}} msg]
282 set v [catch {execsql {SELECT f1 FROM test1 ORDER BY min(f1)}} msg]
301 execsql {
309 execsql {
319 execsql {
325 execsql {
330 execsql {
339 set v [catch {execsql {SELECT max(f1) FROM test1 ORDER BY f2}} msg]
343 execsql {CREATE TABLE test2(t1 test, t2 text)}
344 execsql {INSERT INTO test2 VALUES('abc','xyz')}
353 execsql {PRAGMA full_column_names=on}
367 execsql {PRAGMA full_column_names=off}
454 set v [catch {execsql {
460 set v [catch {execsql {
466 set v [catch {execsql {SELECT f1 FROM test1 as 'hi', test2 as}} msg]
470 set v [catch {execsql {
476 set v [catch {execsql {
482 set v [catch {execsql {
488 set v [catch {execsql {
494 set v [catch {execsql {
501 execsql {SELECT f1 FROM test1 WHERE 4.3+2.4 OR 1 ORDER BY f1}
504 execsql {
510 execsql {
516 execsql {
524 execsql {
540 execsql {PRAGMA empty_result_callbacks=on}
565 execsql {
570 execsql {
575 execsql {
580 execsql {
585 execsql {
590 execsql {
598 execsql {
617 execsql {
622 execsql {
637 execsql {
705 execsql {
712 execsql {
717 execsql {
722 execsql {