Marin Okafor, account owner — photo by Thanh Xuan Nguyen Ly on Pexels
SQL Token Usage Aggregation by Group
1create table public.token_usage (2  id serial primary key,3  token_name text,4  token_group text,5  value text,6  usage_count int,7  captured_at timestamptz default now()8);9 10insert into11  public.token_usage (token_name, token_group, value, usage_count)12values13  ('Surface Base', 'color', '#F5F1EC', 118),14  ('Accent Clay', 'color', '#B25634', 87),15  ('Step 8', 'spacing', '8px', 73),16  ('Step 16', 'spacing', '16px', 61),
Source Role
bordercolormotion radiusspacingtypography
total_usage_count
bordertypography
6 rows