projects
/
koha-dla
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec404a6
)
few simple reports to verify import
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 5 Oct 2018 18:26:05 +0000
(20:26 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 5 Oct 2018 18:26:05 +0000
(20:26 +0200)
reports.sql
[new file with mode: 0644]
patch
|
blob
diff --git a/reports.sql
b/reports.sql
new file mode 100644
(file)
index 0000000..
ffbeb2e
--- /dev/null
+++ b/
reports.sql
@@ -0,0
+1,8
@@
+
+select date_scanned,source_id,count(*),max(timestamp) - min(timestamp) as sec from ffzg_inventura group by date_scanned,source_id;
+
+select min(date_scanned),max(date_scanned),source_id,count(*) from ffzg_inventura group by source_id;
+
+-- duplicates
+
+select barcode,min(date_scanned),max(date_scanned),count(*) from ffzg_inventura group by barcode having count(barcode) > 1 ;