Advertisement
chrissharp123

Untitled

Mar 12th, 2019
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. evergreen=# select rmsr.tcn_value, rmsr.title, rmsr.author, rmsr.pubdate, cp.circ_modifier, count(*) from action.circulation c join asset.copy cp on (c.target_copy = cp.id) join asset.call_number cn on (cp.call_number = cn.id) join reporter.materialized_simple_record rmsr on (cn.record = rmsr.id) join actor.org_unit cl on (c.circ_lib = cl.id) where cn.id > 0 and date(c.xact_start) between date(now()) - '1 month'::interval and date(now()) - '1 day'::interval group by 1, 2, 3, 4, 5 order by 6 desc limit 20;
  2.  
  3. tcn_value | title | author | pubdate | circ_modifier | count
  4. --------------+------------------------------------------------------+----------------------------------+---------+---------------+-------
  5. PIN71097469 | Internet Station. | | | book-ff | 1346
  6. ocn768193195 | [Georgia state parks and historic sites ParkPass] | | 2008 | statepass | 656
  7. ocn847868072 | Zoo Atlanta : wild explorer : history of Zoo Atlanta | | 2013 | dvd-0 | 638
  8. on1039905624 | The reckoning | Grisham, John | 2018 | book | 497
  9. on1037885662 | Past tense : a Jack Reacher novel | Child, Lee | 2018 | book | 466
  10. on1032356732 | A delicate touch | Woods, Stuart | 2018 | book | 437
  11. on1028521687 | Long road to mercy | Baldacci, David | 2018 | book | 427
  12. on1054005696 | Liar Liar | Patterson, James 1947- | 2019 | book | 401
  13. on1031916546 | Turning point : a novel | Steel, Danielle | 2019 | book | 386
  14. on1020450924 | Dark sacred night | Connelly, Michael 1956- | 2018 | book | 384
  15. on1049577570 | Look alive twenty-five : a Stephanie Plum novel | Evanovich, Janet | 2018 | book | 368
  16. on1054093119 | Ambush | Patterson, James 1947- | 2018 | book | 361
  17. on1051779599 | Diary of a wimpy kid : the meltdown | Kinney, Jeff | 2018 | book | 344
  18. on1030446221 | Every breath | Sparks, Nicholas | 2018 | book | 340
  19. on1043045282 | Target Alex Cross | Patterson, James 1947- | 2018 | book | 338
  20. on1048049711 | The New Iberia blues : a Dave Robicheaux novel | Burke, James Lee 1936- | 2019 | book | 328
  21. on1036105450 | Connections in death | Robb, J. D. 1950- | 2019 | book | 328
  22. ocn957281994 | Dog Man | Pilkey, Dav 1966- | 2016 | book | 326
  23. on1030415866 | Holy ghost | Sandford, John 1944 February 23- | 2018 | book | 314
  24. on1043479424 | The boy : a novel | Hoag, Tami | 2018 | book | 313
  25. (20 rows)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement