SQL interview questions
a_and_b:
Table a has two columns, start_date and end_date. Table b has two columns, date and num_visitors. Return the start/end date combination from table a that has the most visitors over the corresponding range of dates in table b.
exchange_rates:
Return the corrected sales totals by day converted into US dollars per that date's exchange rates.