<commit_before>create temporary table derricks as (select SQL_NO_CACHE uid from users where name like '<NAME>' and age=36);
create temporary table derrick_movies as (select SQL_NO_CACHE distinct mid from rated where rating=10 and uid in derricks);
create temporary table derrick_directors as (select SQL_NO_CACHE distinct pid from directed where mid in derrick_movies);
select SQL_NO_CACHE name from people where pid in derrick_directors;
<commit_msg>change this one to use joins instead of in<commit_after>create temporary table derricks as (select SQL_NO_CACHE uid from users where name like '<NAME>' and age=36);
create temporary table derrick_movies as (select SQL_NO_CACHE mid from derricks natural join rated where rating=10);
create temporary table derrick_directors as (select SQL_NO_CACHE pid from derrick_movies natural join directed);
select SQL_NO_CACHE name from derrick_directors natural join people; 

{'fraction_non_alphanumeric': 0.04148471615720524, 'fraction_numerical': 0.008733624454148471, 'mean_word_length': 6.705882352941177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7417643', 'n_tokens_mistral': 254, 'n_tokens_neox': 235, 'n_words': 117}