Ok, I\'m trying to figure out how to do a select statement that changes what it\'s selecting based on criteria and that scales on it\'s own (more or less). In my reference tabl