SQL tables, and data pull changes