haskell-relational-record/relational-record-examples/sql/4.3.3a.sh

10 lines
178 B
Bash
Raw Normal View History

2013-07-31 10:44:50 +04:00
#! /bin/bash
2014-12-15 07:56:39 +03:00
# Membership conditions
2014-12-12 08:44:11 +03:00
sqlite3 examples.db "
2013-07-31 10:44:50 +04:00
SELECT account_id, product_cd, cust_id, avail_balance
2014-12-10 10:18:07 +03:00
FROM account
2013-07-31 10:44:50 +04:00
WHERE product_cd IN ('CHK', 'SAV', 'CD', 'MM')
;"