More database wrangling.