From 50a8fbb4944e1afe65482102ac33c88c7d072fc7 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 14 Feb 2015 16:13:24 +0100 Subject: [PATCH] =?utf8?q?[bde/adhesions.sh]=20script=20pour=20obtenir=20l?= =?utf8?q?es=20ann=C3=A9s=20d'adh=C3=A9sion=20d'un=20compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bde/adhesions.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bde/adhesions.sh diff --git a/bde/adhesions.sh b/bde/adhesions.sh new file mode 100755 index 0000000..b3e141d --- /dev/null +++ b/bde/adhesions.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Pour trouver les années d'adhésion d'un compte + +export LESS='-S' + +psql note -c " + SELECT * + FROM adhesions + WHERE idbde = $1 + ORDER BY annee ASC;" -- 2.39.2