incorporate quality into initial MR map
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Jul 2006 19:59:53 +0000 (19:59 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 16 Jul 2006 19:59:53 +0000 (19:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5027 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/src/extras/import/quick_metarecord_map.sql

index d8cd56a..a402c86 100644 (file)
@@ -10,7 +10,7 @@ INSERT INTO metabib.metarecord (fingerprint,master_record)
          FROM  (SELECT DISTINCT ON (fingerprint)
                        fingerprint, id, quality
                  FROM  biblio.record_entry
-                 ORDER BY fingerprint, quality desc);
+                 ORDER BY fingerprint, quality desc) AS x;
 
 INSERT INTO metabib.metarecord_source_map (metarecord,source)
        SELECT  m.id, b.id