Browse Source

Make a table of 5k sample

Petra Lamborn 5 years ago
parent
commit
0ecaac5e52
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      sql/queries.pgsql

+ 6
- 0
sql/queries.pgsql View File

@@ -414,3 +414,9 @@ CREATE TABLE public.icp_sample_1618 AS
414 414
 SELECT * FROM public.best_icp_1618
415 415
 ORDER BY random()
416 416
 LIMIT 1000;
417
+
418
+-- Produces 5k sample table for 2017 data
419
+CREATE TABLE public.icp_sample_5k AS
420
+SELECT * FROM public.best_icp
421
+ORDER BY random()
422
+LIMIT 5000;