mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 14:45:51 +03:00
10 lines
141 B
Bash
10 lines
141 B
Bash
#! /bin/bash
|
|
|
|
# Inner join
|
|
|
|
sqlite3 examples.db "
|
|
SELECT e.fname, e.lname, d.name
|
|
FROM employee e INNER JOIN department d
|
|
USING (dept_id)
|
|
;"
|