From 48c14002d133a31777e14b54dceebda290861ccd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 27 May 2019 12:04:14 +0300 Subject: [PATCH] Fix notes for 2019-04-26 --- content/posts/2019-04.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/2019-04.md b/content/posts/2019-04.md index d4eb7225a..f3705a122 100644 --- a/content/posts/2019-04.md +++ b/content/posts/2019-04.md @@ -991,7 +991,7 @@ dspace=# SELECT * FROM item WHERE item_id=74648; - Export a list of authors for Peter to look through: ``` -dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header; +dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header; COPY 65752 ```