haskell-relational-record/relational-record-examples/sql/3.7.1.sh
Kazu Yamamoto 67156db709 new SQLs.
2014-12-15 13:49:28 +09:00

10 lines
161 B
Bash

#! /bin/bash
# Descending sort order
sqlite3 examples.db "
SELECT account_id, product_cd, open_date, avail_balance
FROM account
ORDER BY avail_balance DESC
;"