Data types, CREATE/ALTER/DROP, constraints and normalization — designing the tables your queries run against.