<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can multiple questions be added to the same sql query in genie space in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-multiple-questions-be-added-to-the-same-sql-query-in-genie/m-p/158821#M54779</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/193958"&gt;@IM_01&lt;/a&gt;,&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;The public guidance points to one natural-language question or title per example SQL query, rather than multiple sample questions attached to a single query. In the &lt;A href="https://docs.databricks.com/aws/en/genie/tune-quality" rel="noopener noreferrer nofollow" target="_blank"&gt;Tune Genie Space quality&lt;/A&gt; docs, Databricks says that for each example SQL query you should use the most typical phrasing of the user’s question as the title, and that Genie can then either use that example directly or learn from it to handle similar questions.&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;If your goal is to help Genie cover different phrasings of the same intent, the recommendation is to add separate example SQL queries for the important variations instead of trying to pack multiple sample questions into one entry. The &lt;A href="https://docs.databricks.com/aws/en/genie/best-practices" rel="noopener noreferrer nofollow" target="_blank"&gt;best practices guide&lt;/A&gt; also recommends keeping examples focused and using example SQL queries to teach Genie how to handle common ambiguous prompts, which lines up with that approach. If the goal is testing phrasing coverage rather than teaching Genie, then &lt;A href="https://docs.databricks.com/aws/en/genie/monitor" rel="noopener noreferrer nofollow" target="_blank"&gt;benchmarks&lt;/A&gt; are the better fit, because they let you check how Genie responds to different question phrasings and formats.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2026 16:46:15 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-06-11T16:46:15Z</dc:date>
    <item>
      <title>Can multiple questions be added to the same sql query in genie space</title>
      <link>https://community.databricks.com/t5/data-engineering/can-multiple-questions-be-added-to-the-same-sql-query-in-genie/m-p/158790#M54770</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2758.PNG" style="width: 524px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/27718i6B6808E8A844FD2C/image-dimensions/524x519?v=v2" width="524" height="519" role="button" title="IMG_2758.PNG" alt="IMG_2758.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, Can we add multiple sample questions to one SQL query&amp;nbsp; in the sql queries instructions so Genie learns to handle similar variations?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 11:11:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-multiple-questions-be-added-to-the-same-sql-query-in-genie/m-p/158790#M54770</guid>
      <dc:creator>IM_01</dc:creator>
      <dc:date>2026-06-11T11:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can multiple questions be added to the same sql query in genie space</title>
      <link>https://community.databricks.com/t5/data-engineering/can-multiple-questions-be-added-to-the-same-sql-query-in-genie/m-p/158821#M54779</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/193958"&gt;@IM_01&lt;/a&gt;,&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;The public guidance points to one natural-language question or title per example SQL query, rather than multiple sample questions attached to a single query. In the &lt;A href="https://docs.databricks.com/aws/en/genie/tune-quality" rel="noopener noreferrer nofollow" target="_blank"&gt;Tune Genie Space quality&lt;/A&gt; docs, Databricks says that for each example SQL query you should use the most typical phrasing of the user’s question as the title, and that Genie can then either use that example directly or learn from it to handle similar questions.&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;If your goal is to help Genie cover different phrasings of the same intent, the recommendation is to add separate example SQL queries for the important variations instead of trying to pack multiple sample questions into one entry. The &lt;A href="https://docs.databricks.com/aws/en/genie/best-practices" rel="noopener noreferrer nofollow" target="_blank"&gt;best practices guide&lt;/A&gt; also recommends keeping examples focused and using example SQL queries to teach Genie how to handle common ambiguous prompts, which lines up with that approach. If the goal is testing phrasing coverage rather than teaching Genie, then &lt;A href="https://docs.databricks.com/aws/en/genie/monitor" rel="noopener noreferrer nofollow" target="_blank"&gt;benchmarks&lt;/A&gt; are the better fit, because they let you check how Genie responds to different question phrasings and formats.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 16:46:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-multiple-questions-be-added-to-the-same-sql-query-in-genie/m-p/158821#M54779</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-06-11T16:46:15Z</dc:date>
    </item>
  </channel>
</rss>

