1. A computer-implemented method for query hint learning in a database management system, the method comprising: detecting, by the database management system, a hint in a first query, wherein the first query has a first signature, and wherein the hint includes statistics associated with a table in a database management system; receiving, by the database management system, a second query having a second signature, wherein the second query is received at a later time relative to the first query; determining, by the database management system, that the second signature correlates with the first signature; establishing, by the database management system, a query plan for executing the second query utilizing the hint in the first query, wherein establishing the query plan for executing the second query includes using a machine-learning technique to learn from the first query and the hint in the first query and creating a third query which is based on the second query and uses the hint in the first query; and processing, by the database management system in response to receiving the second query, the query plan for executing the second query.
1. A computer-implemented method for query hint learning in a database management system, the method comprising: detecting, by the database management system, a hint in a first query, wherein the first query has a first signature, and wherein the hint includes statistics associated with a table in a database management system; receiving, by the database management system, a second query having a second signature, wherein the second query is received at a later time relative to the first query; determining, by the database management system, that the second signature correlates with the first signature; establishing, by the database management system, a query plan for executing the second query utilizing the hint in the first query, wherein establishing the query plan for executing the second query includes using a machine-learning technique to learn from the first query and the hint in the first query and creating a third query which is based on the second query and uses the hint in the first query; and processing, by the database management system in response to receiving the second query, the query plan for executing the second query. 3. The method of claim 1 , wherein processing the query plan includes: providing, using the query plan, a valid results-set for the second query.