<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - SQL error with Query Wizard"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122461">122461</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SQL error with Query Wizard
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Base
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>realitix@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147992" name="attach_147992" title="test file">attachment 147992</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147992&action=edit" title="test file">[details]</a></span>
test file

Hello,

When using the Query Wizard, there is a SQL exception.
Here the steps to reproduce:

1 - Download the attached spreedsheet "data-test.ods"
2 - Open Base > Connect to an existing database > Spreadsheet
3 - Select the data-test.ods and create the database
4 - Select Queries > Use Wizard to Create Query
5 - Double Click on "Contrat" in "Available fields", "Contrat" moves to "Fields
in the Query"
6 - Click on Finish
-> You get the SQL error

The error appears only with the fields "Contrat" and "Service d'affectation".
For the others fields, there are no SQL exception.

Sincerely,
Jean-Sébastien</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>