Implemented two tables and joined them to get the ratio field