Select from multiple tables in example