Step 1: f_select_row(row 0, row 1, row 2, row 3)
tournament |
wins |
top - 5 |
top - 25 |
events |
cuts made |
masters tournament |
0 |
0 |
0 |
2 |
1 |
us open |
0 |
0 |
1 |
2 |
1 |
the open championship |
0 |
1 |
2 |
7 |
4 |
pga championship |
0 |
0 |
0 |
6 |
4 |
totals |
0 |
1 |
3 |
17 |
10 |
Step 2: f_select_column(tournament, events)
tournament |
wins |
top - 5 |
top - 25 |
events |
cuts made |
masters tournament |
0 |
0 |
0 |
2 |
1 |
us open |
0 |
0 |
1 |
2 |
1 |
the open championship |
0 |
1 |
2 |
7 |
4 |
pga championship |
0 |
0 |
0 |
6 |
4 |
Step 3: f_sort_column(events)
tournament |
events |
masters tournament |
2 |
us open |
2 |
the open championship |
7 |
pga championship |
6 |
Step 4: simple_query()
tournament |
events |
the open championship |
7 |
pga championship |
6 |
masters tournament |
2 |
us open |
2 |
Prompting LLM for the final answer... >>>