~vinchen13/mysql-proxy/fix_some_bugs

« back to all changes in this revision

Viewing changes to tests/suite/base/r/xtab1.result

  • Committer: vin
  • Date: 2012-02-15 02:47:30 UTC
  • Revision ID: vinchen13@gmail.com-20120215024730-6xtv6nhn83ina0sc
origin source code from mysql-proxy-0.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
xtab help;
 
2
XTAB help
 
3
xtab - version 0.1.3 - (C) MySQL AB 2007
 
4
Syntax: 
 
5
 - 
 
6
XTAB table_name row_header col_header operation operation_fld [summary]
 
7
"table_name" can be a table or a view
 
8
"row_field" is the field to be used as row header
 
9
"col_field" is the field whose distinct values will become column headers
 
10
"operation" is the required operation (COUNT|SUM|AVG|MAX|MIN)
 
11
"operation_field" is the field to which the operation is applied
 
12
 - 
 
13
If the "summary" option is used, then a "WITH ROLLUP" clause 
 
14
is added to the query.
 
15
 - 
 
16
Other commands:
 
17
XTAB QUERY - the XTAB query is returned instead of its result
 
18
XTAB NOQUERY - the XTAB result is returned (default)
 
19
XTAB version - shows current version
 
20
XTAB help - shows this help
 
21
Created by Giuseppe Maxia
 
22
xtab version;
 
23
XTAB version
 
24
0.1.3
 
25
xtab query;
 
26
XTAB query 
 
27
Setting XTAB QUERY, the next XTAB command will return 
 
28
the query text instead of its result.
 
29
 
 
30
Setting XTAB NOQUERY (default), the XTAB command
 
31
executes the query and returns its result.
 
32
 
 
33
Current setting: returns a query
 
34
xtab noquery;
 
35
XTAB query 
 
36
Setting XTAB QUERY, the next XTAB command will return 
 
37
the query text instead of its result.
 
38
 
 
39
Setting XTAB NOQUERY (default), the XTAB command
 
40
executes the query and returns its result.
 
41
 
 
42
Current setting: returns a result set