haskell-relational-record/relational-record-examples/sql/4.1.2.sh
2014-12-15 17:24:32 +09:00

10 lines
163 B
Bash

#! /bin/bash
# Using the not operator
sqlite3 examples.db "
SELECT *
FROM employee
WHERE end_date IS NULL AND (title = 'Teller' OR start_date < '2003-01-01')
;"