summaryrefslogtreecommitdiff
path: root/tests/examplefiles/sqlite3.sqlite3-console
diff options
context:
space:
mode:
authorthatch <devnull@localhost>2008-08-14 23:29:59 -0700
committerthatch <devnull@localhost>2008-08-14 23:29:59 -0700
commitec65b1d0d58b39994eb81046f3a5464e033c1d8a (patch)
tree351587d8ed2fe74c3b5f42f6047fea9e853ec4d7 /tests/examplefiles/sqlite3.sqlite3-console
parent3fe6b2551f9fe8f4fa3b0731469d5e69a9b7a452 (diff)
downloadpygments-ec65b1d0d58b39994eb81046f3a5464e033c1d8a.tar.gz
Forgot sqlite3 example file
Diffstat (limited to 'tests/examplefiles/sqlite3.sqlite3-console')
-rw-r--r--tests/examplefiles/sqlite3.sqlite3-console27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/examplefiles/sqlite3.sqlite3-console b/tests/examplefiles/sqlite3.sqlite3-console
new file mode 100644
index 00000000..3ec27135
--- /dev/null
+++ b/tests/examplefiles/sqlite3.sqlite3-console
@@ -0,0 +1,27 @@
+SQLite version 3.4.2
+Enter ".help" for instructions
+sqlite> .schema
+CREATE TABLE paste (paste_id integer, code text, parsed_code text, pub_date
+varchar(24), language varchar(64), parent_id integer, url varchar(128));
+CREATE TABLE vars (key varchar(24), value varchar(128));
+sqlite> a '
+ ...> '
+ ...> ;
+SQL error: near "a": syntax error
+sqlite> %;
+SQL error: near "%": syntax error
+sqlite> select count(language), language from paste group by language order
+ ...> by count(language) desc;
+144|python
+76|text
+22|pycon
+9|ruby
+7|c
+7|js
+6|html+django
+4|html
+4|tex
+2|html+php
+1|cpp
+1|scheme
+sqlite>