Jump to content

Brevis

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Brevis

  1. I am not sure whether this is best described as a bug report, a suggestion for improvment, or as a manifestation of my lack of experience with SQL.

    I have the impression that the SQL Editor cannot handle queries that exceed a certain degree of complexity.

    For example, the following SQL query

     

    Select Customers.CustomerName, Customers.CustomerID, Employees.FirstName, Employees.LastName
    from Customers, Employees
    INNER JOIN Orders ON Orders.CustomerID = Customers.CustomerID
    INNER JOIN Orders ON Orders.EmployeeID = Employees.EmployeeID
    WHERE Orders.EmployeeID = 4;

     

    gives my the following error:

    Syntax error (missing operator) in query expression 'Orders.CustomerID = Customers.CustomerID INNER JOIN Orders ON Orders.EmployeeID = Employees.EmployeeID'.

    When I use only a singe JOIN, things work as expected.

    I assume that the query itself is correct (I have seen similar things on other sites), so my suggestion is to improve the editor to handle more complex queries. Do you have any control over tghe feature set of that editor?

    Best regards

    Brevis

     

×
×
  • Create New...