|
|
@ -4173,7 +4173,7 @@ numerical order and columns with an independant, ascending numerical order. |
|
|
|
testdb=> <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput> |
|
|
|
testdb=> <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput> |
|
|
|
testdb(> <userinput>row_number() over(order by t2.first) AS ord</userinput> |
|
|
|
testdb(> <userinput>row_number() over(order by t2.first) AS ord</userinput> |
|
|
|
testdb(> <userinput>FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC</userinput> |
|
|
|
testdb(> <userinput>FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC</userinput> |
|
|
|
testdb(> <userinput>\crosstabview A B:ord AxB</userinput> |
|
|
|
testdb(> <userinput>\crosstabview "A" "B" "AxB" ord</userinput> |
|
|
|
A | 101 | 102 | 103 | 104 |
|
|
|
A | 101 | 102 | 103 | 104 |
|
|
|
---+-----+-----+-----+----- |
|
|
|
---+-----+-----+-----+----- |
|
|
|
4 | 404 | 408 | 412 | 416 |
|
|
|
4 | 404 | 408 | 412 | 416 |
|
|
|