Mining Web user queries using relational database techniques