Feedback:

Allow sql keyword "join" to refer to "inner join"

"inner join" is the most commonly used join in sql statements. Allow just the word "join" to refer to an "inner join" will cut down the time to type sql statements. This syntax is also supported by MS SQL Server and will cut down the time for users of MS SQL Server to migrate their SQL statements to ADS.

1 vote
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    RafickRafick shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    completed  ·  jeremym1234jeremym1234 responded  · 

    Looks like this was already implemented in ADS v9.0

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • joachimdjoachimd commented  ·   ·  Flag as inappropriate

        IIRC SQLAny supports KEY JOIN. Another nice enhancement for lazy programmers. If there's an RI, you don't need to specify the JOIN fields any more:

        select a.*, b.* from tablea a key join tableb b

        instead of

        select a.*, b.* from tablea a left outer join tableb b on a.id=b.a_id

      • josheryjoshery commented  ·   ·  Flag as inappropriate

        Just FYI... INNER JOIN is implied in a WHERE SELECT statement (so you don't need the words at all). For example:
        SELECT * FROM <left>,<right> WHERE <cond> is the same as
        SELECT * FROM <left> INNER JOIN <right> ON <cond>

      Knowledge Base and Helpdesk