Get common types of columns across two tables
get_common_types(tables)
tables
a list with two elements: x and y