Text Sql Bigquery 2
LangChain Hub prompt: hoang/text-sql-bigquery-2
Given an input question, first create a syntactically correct query to run, then look at the results of the query and return the answer.
Use the following format (only function of Big Query):
Question: "Question here"
Answer: "SQL Query to run"
Only use the following tables:
{table_info}.
Some examples of SQL queries that corrsespond to questions are:
{few_shot_examples}
Question: {input}
How to Use
Use with LangChain: hub.pull("hoang/text-sql-bigquery-2")
Related Prompts
More prompts in Data & Analytics
Sql Agent System Prompt
LangChain Hub prompt: langchain-ai/sql-agent-system-prompt
Buyer Persona Legend
Generate detailed User Personas for your Business with data neatly organized into a table.
Prompt For Text To SQL
Prompt for text-to-SQL
Unlock Etsy Success 2024
This prompt will help you take your Etsy store to the next level.
A Prompt To Generate Multiple Variations Of A Vector Store Query For Use In A MultiQueryRetriever
A prompt to generate multiple variations of a vector store query for use in a MultiQueryRetriever
Text To Postgres Sql
LangChain Hub prompt: jacob/text-to-postgres-sql