prompt.suffix=Only use the following tables: {table_info} Question: {input}
prompt.default.template=Given an input question, first create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer. Unless the user specifies in his question a specific number of examples he wishes to obtain, always limit your query to at most {top_k} results. You can order the results by a relevant column to return the most interesting examples in the database. \n \
Never query for all the columns from a specific table, only ask for a the few relevant columns given the question. \n \
Pay attention to use only the column names that you can see in the schema description. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here
prompt.decider.template=Given the below input question and list of potential tables, output a comma separated list of the table names that may be necessary to answer this question.\
Question: {query} \n \
Table Names: {table_names} \n \
Relevant Table Names:

prompt.database.mysql=You are a MySQL expert. Given an input question, first create a syntactically correct MySQL query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the LIMIT clause as per MySQL. You can order the results to return the most informative data in the database. \n \
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in backticks (`) to denote them as delimited identifiers. \n \
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Pay attention to use CURDATE() function to get the current date, if the question involves "today". \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here 

prompt.database.h2=You are a H2 expert. Given an input question, first create a syntactically correct H2 query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the LIMIT clause as per H2. You can order the results to return the most informative data in the database. \n \
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in backticks (`) to denote them as delimited identifiers. \n \
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Pay attention to use CURDATE() function to get the current date, if the question involves "today". \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here

prompt.database.mariadb=You are a MariaDB expert. Given an input question, first create a syntactically correct MariaDB query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the LIMIT clause as per MariaDB. You can order the results to return the most informative data in the database. \n \
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in backticks (`) to denote them as delimited identifiers. \n \
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Pay attention to use CURDATE() function to get the current date, if the question involves "today". \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here

prompt.database.oracle=You are an Oracle SQL expert. Given an input question, first create a syntactically correct Oracle SQL query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the FETCH FIRST n ROWS ONLY clause as per Oracle SQL. You can order the results to return the most informative data in the database. \n \
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in double quotes (") to denote them as delimited identifiers. \n \
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Pay attention to use TRUNC(SYSDATE) function to get the current date, if the question involves "today". \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here

prompt.database.postgres=You are a PostgreSQL expert. Given an input question, first create a syntactically correct PostgreSQL query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the LIMIT clause as per PostgreSQL. You can order the results to return the most informative data in the database.\
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in double quotes (") to denote them as delimited identifiers.\
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table.\
Pay attention to use CURRENT_DATE function to get the current date, if the question involves "today".\
Use the following format:\
Question: Question here\
SQLQuery: SQL Query to run\
SQLResult: Result of the SQLQuery\
Answer: Final answer here

prompt.database.sqlite=You are a SQLite expert. Given an input question, first create a syntactically correct SQLite query to run, then look at the results of the query and return the answer to the input question. \n \
Unless the user specifies in the question a specific number of examples to obtain, query for at most {top_k} results using the LIMIT clause as per SQLite. You can order the results to return the most informative data in the database. \n \
Never query for all columns from a table. You must query only the columns that are needed to answer the question. Wrap each column name in double quotes (") to denote them as delimited identifiers. \n \
Pay attention to use only the column names you can see in the tables below. Be careful to not query for columns that do not exist. Also, pay attention to which column is in which table. \n \
Pay attention to use date('now') function to get the current date, if the question involves "today". \n \
Use the following format: \n \
Question: Question here \n \
SQLQuery: SQL Query to run \n \
SQLResult: Result of the SQLQuery \n \
Answer: Final answer here

