Use SQL to guess mistyped or truncated URL requests