yay selection for multiple tables and values