mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 22:55:04 +01:00
Fix notes for 2019-03
This commit is contained in:
parent
f71b9810e0
commit
929922f09e
@ -364,8 +364,7 @@ UPDATE 195463
|
|||||||
- Send Peter a list of all authors to correct:
|
- Send Peter a list of all authors to correct:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element
|
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;
|
||||||
= '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
|
COPY 56156
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user