haskell-relational-record/relational-record-examples/sql/4.3.3a.sh
2014-12-15 13:56:39 +09:00

10 lines
178 B
Bash

#! /bin/bash
# Membership conditions
sqlite3 examples.db "
SELECT account_id, product_cd, cust_id, avail_balance
FROM account
WHERE product_cd IN ('CHK', 'SAV', 'CD', 'MM')
;"