SlowGuess/ACL_2020_OCR huggingface dataset:
Figure 8: An example of the data collection interface. The Predicted SQL is: 'SELECT name, salary FROM instructor WHERE dept_name LIKE "%math%"'. Note that neither the gold nor the predicted SQL are shown to the annotator.
SQL Component	Explanation
intersect	show the rows that are in both the results of step 1 and step 2
union	show the rows that are in any of the results of step 1 and step 2
except	show the rows that are in the results of step 1 but not in the results of step 2
limit n	only keep the first n rows of the results in step 1
join	for each row in Table 1, find corresponding rows in Table 2
select	find Column of Table
aggregation	find each value of Column1 in Table along with the OPERATION of Column2 of the corresponding rows to each value
ordering	order Direction by Column
condition	whose Column Operation Value
distinct	without repetition
Figure 9: Examples of how different SQL components can be explained in natural language