Skip to content

Magic wrong in documentation? #1064

@raffaem

Description

@raffaem

What happens?

I was reading this documentation page and there is the following example:

%sql two
SELECT * FROM two

But it doesn't run for me, it says:

  Cell In[12], line 2
    SELECT * FROM two
                  ^
SyntaxError: invalid syntax

shouldn't the example be:

%%sql two
SELECT * FROM two

?

To Reproduce

See above

OS:

Windows

JupySQL Version:

0.11.1

Full Name:

Raffaele Mancuso

Affiliation:

University of Bologna

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions