From: "Johan W. Klüwer" <johan.w.kluwer@gmail.com>
To: emacs-orgmode@gnu.org
Subject: WISH: SQL on org-mode tables
Date: Sun, 18 Aug 2013 16:06:43 +0200 [thread overview]
Message-ID: <CAC5XeFGb73CkWnJpF8CWuucuZcJsESV1vJR3wp=_PQKHitERwg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
I wish it were possible to execute SQL on tables in org-mode buffers.
Filtering rows and columns, joining values across named tables, and so
forth could be done with SQL in the org-table SEND clauses.
There's a script called csvsql that allows for executing SQL on comma- or
tab-separated files from the command-line (using the H2 database engine):
https://github.com/jdurbin/durbinlib/wiki/csvsql. I'm thinking csvsql or
similar could provide the query capability, and org-mode would take care of
sending it org tables in tab separated format.
That's my wish.
Cheers
Johan
[-- Attachment #2: Type: text/html, Size: 756 bytes --]
next reply other threads:[~2013-08-18 14:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-18 14:06 Johan W. Klüwer [this message]
2013-08-20 19:08 ` WISH: SQL on org-mode tables Marc Ihm
2013-08-21 0:29 ` Eric Abrahamsen
2013-08-21 2:55 ` SAKURAI Masashi
2013-08-21 8:07 ` Johan W. Klüwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC5XeFGb73CkWnJpF8CWuucuZcJsESV1vJR3wp=_PQKHitERwg@mail.gmail.com' \
--to=johan.w.kluwer@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.