Skip to content

RFE Clearer display of JOIN results #5399

@ysalmon

Description

@ysalmon

To help beginners understand JOINs, it would be nice if SQLiteStudio could display results from JOIN queries by indicating more clearly from which table the columns originate.

I am not entirely sure how this could be done but here are some ideas :

  • when a field explicitly has a table qualifier (eg. SomeTable.SomeField) and no AS clause, use that (and not just SomeField or SomeField:1 in case of ambiguity) in the column ;
  • do the same if a field is unique among the joined tables and not explicitely qualified ?
  • when there is a *, add a new header above the existing one to show the tables from which the fields come (of course this only works if the FROM clause only contains actual tables/views and not subrequests…).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions