OriginChainDB
Sql

SQL examples

← All examples

Start with a small sample table. Choose the recipe for the filter, calculation or write you need, then check its limits before using it on production data.

For your first query, follow Read the columns you need from its table definition through its response. The filtering and join examples reuse its customers and the three-order sample. Advanced calculation examples use a separate numeric-ID dataset linked on those pages.

Choose the SQL operation your question needsUse the matching sample table; advanced recipes may use a different dataset.
  1. Start with sample rowsCreate and load the table named by the recipe.
  2. Choose a questionSelect fields, filter rows, join tables or calculate a result.
  3. Run its SQLKeep parameters separate from the query where supported.
  4. Verify the outputCheck fields, row counts and changes before adapting the query.

Read and change rows

Before adapting a recipe

Use a test database, load the named sample data, and check the expected result. Read each page’s limits before changing the query. See connection and SDK notes.

© 2026 Silicoyn Technologies Pvt Ltd

On this page