File: sql_engine_specifics.txt

package info (click to toggle)
kdb 3.2.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,276 kB
  • sloc: cpp: 38,360; yacc: 940; python: 779; sh: 711; ansic: 440; lex: 367; xml: 182; sql: 51; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SQL Engines - Specifics
-----------------------

This document lists specifics among SQL engines. We need to remember about them when implementing features of KDb and designing KDbSQL.

Legend: + == works, - == doesn't work, ? == not tested yet

== 1. Ordering by computed column ==
Examples: select rand() from T order by 1;
          select 1 from T order by 1;
MySQL: +
SQLite: -
PostgreSQL: ?

== 2. Using more than just "*" in the column list ==
Example: select *, 1 from T;
MySQL: -
SQLite: +
PostgreSQL: ?

Notes: select T.*, 1 from T; works everywhere