Changes table and related query functions.