TDV Adapter for Redis

Build 23.0.8839

SELECT Statements

The following features are supported for the SELECT statement:

  1. Return all columns:
    SELECT * FROM Customers
  2. Rename a column:
    SELECT "CompanyName" AS MY_CompanyName FROM Customers
  3. Search data:
    SELECT * FROM Customers WHERE Country = 'US';
  4. The following operators are supported in the WHERE clause: =.
    SELECT * FROM Customers WHERE Country = 'US';
  5. Return the number of items in a group:
    SELECT COUNT(*) AS MyCount FROM Customers
  6. Return the number of unique items in a group:
    SELECT COUNT(DISTINCT CompanyName) FROM Customers
  7. Summarize data:
    SELECT CompanyName, MAX(Balance) FROM Customers GROUP BY CompanyName
  8. Sort a result set in ascending order:
    SELECT City, CompanyName FROM Customers ORDER BY CompanyName ASC

Aggregate Functions

For SELECT examples using aggregate functions, see Aggregate Functions.

JOIN Queries

See JOIN Queries for SELECT query examples using JOINs.

Date Literal Functions

Date Literal Functions contains SELECT examples with date literal functions.

Window Functions

See Window Functions for SELECT examples containing window functions.

Table-Valued Functions

See Table-Valued Functions for SELECT examples with table-valued functions.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839