cr_int_views.sql

Save this script as cr_int_views.sql.

create or replace view t4_view as
select
  k,
  int_score as score
from t4;

-- This very simple view allows updates.
create or replace view results as
select method, bucket, n, min_s, max_s
from int_results;