Skip to content

Instantly share code, notes, and snippets.

@whudwl
whudwl / cc-org-table-to-sql.org
Created November 30, 2023 03:53 — forked from kickingvegas/cc-org-table-to-sql.org
Org Code Block cc/org-table-to-sqlite

cc/org-table-to-sqlite

Org Babel code block to import an Org table into an in-memory SQLite DB to enable SQL queries on aforementioned table.

Parameters

  • table : Org table object The Org table object is referenced via the #+NAME value assigned to the table. The table must have a header row identifying each column. This name value must be a SQL-legal name.
  • table-name : string Name of table in string form. It must be identical to the name of the table parameter above.

task one

@whudwl
whudwl / h1-a.org
Created April 21, 2022 12:38
h1 a

h1 a

h2 a