Skip to content

Bug in part 3 self-joins #3

Description

@SmearingMap

In part 3 of the SQLite tutorial, the first command in the self-joins section is broken. Instead, it should be:

SELECT a.last_name, a.first_name, a.amount, b.amount FROM contributors a, contributors b WHERE a.last_name = b.last_name AND a.first_name = b.first_name;

Currently, it is:

SELECT a.last_name, a.first_name, a.amount, b.amount FROM a, b WHERE a.last_name = b.last_name AND a.first_name = b.first_name;

which leaves a and b undefined and results in an error.

PS
I love the tutorial! I've found it very helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions