Mapping statements to tables