iOS swift one page shows two tableviews, how to solve it?

How to display two tableviews on a viewcontroller, click the above tableview to update the following tableview value, how to achieve?

iOS swift one page shows two tableviews, how to solve it?
 
 
Q