Pergunta de entrevista da empresa Morgan Stanley

Using SQL, given two data sets, how would you search to find the sub-data set of another with a similar characteristic?