use the correct SQL for this w/ help from selena