From 929922f09eb1f7c767e98deb616e01fd1d4d1231 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 26 Apr 2019 12:13:02 +0300 Subject: [PATCH] Fix notes for 2019-03 --- content/posts/2018-03.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/posts/2018-03.md b/content/posts/2018-03.md index ba6fa89fb..64179be00 100644 --- a/content/posts/2018-03.md +++ b/content/posts/2018-03.md @@ -364,8 +364,7 @@ UPDATE 195463 - Send Peter a list of all authors to correct: ```sql -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/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/authors.csv with csv header; COPY 56156 ```