A graph-based framework for analyzing SQL query logs
SnipSuggest: Context-Aware Autocompletion for SQL