Here's how to cross-correlate two tables