From a56add7424d858e2dab0c6ec5cf3681a4b47666b Mon Sep 17 00:00:00 2001 From: ahbanks Date: Mon, 7 Apr 2003 19:44:11 +0000 Subject: [PATCH] Staring Phrasebook for bookcount.pl --- lib/bookcount.xml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 lib/bookcount.xml diff --git a/lib/bookcount.xml b/lib/bookcount.xml new file mode 100644 index 0000000000..6e2e548a23 --- /dev/null +++ b/lib/bookcount.xml @@ -0,0 +1,62 @@ + + + + + + + + ]> + + + + + + "select * from items where itemnumber = $itm"; + + + "select max(branchtransfers.datearrived) from branchtransfers where branchtransfers.itemnumber=$var1" + + + "Select * from branchtransfers where branchtransfers.itemnumber=$var1 and branchtransfers.datearrived=$var2" + + + "Select count(*) from issues where issues.itemnumber=$itm and issues.timestamp > $dat" + + + "Select count(*) from issues where itemnumber=$itm and branchcode = $brc" + + + "Select max(timestamp) from issues where itemnumber=$itm and branchcode = $brc"; + + + "Select max(datearrived) from branchtransfers where itemnumber=$itm and tobranch = $brc"; + + + + + + "select * from items where itemnumber = $itm"; + + + "select max(branchtransfers.datearrived) from branchtransfers where branchtransfers.itemnumber=$var1" + + + "Select * from branchtransfers where branchtransfers.itemnumber=$var1 and branchtransfers.datearrived=$var2" + + + "Select count(*) from issues where issues.itemnumber=$itm and issues.timestamp > $dat" + + + "Select count(*) from issues where itemnumber=$itm and branchcode = $brc" + + + "Select max(timestamp) from issues where itemnumber=$itm and branchcode = $brc"; + + + "Select max(datearrived) from branchtransfers where itemnumber=$itm and tobranch = $brc"; + + + + + -- 2.11.0