Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working to perform joins #50

Open
vasharma1 opened this issue Jun 13, 2018 · 3 comments
Open

Not working to perform joins #50

vasharma1 opened this issue Jun 13, 2018 · 3 comments

Comments

@vasharma1
Copy link

The english statement 'What is the name of the professor who is teaching the field Algorithm ?' does not work. There comes an error saying 'there is at least one column 'field' which is not reachable from 'professor'.

@FerreroJeremy
Copy link
Owner

Thank you for your interest in ln2sql. Unfortunately, I'm not going forward with the project.

In addition, FYI, the pypi version is really not updated; it does not include most of features of the github version, the same goes for the release versions and especially for the python 2.X version. Maybe your problem comes from here.

I'm so sorry not to be able to help you more.

@jps1001
Copy link

jps1001 commented Apr 19, 2020

@vasharma1 That is because the sql dump file does not contain the relation between primary key and foreign key. You have to define your ALTER TABLE statements. And then add :
ALTER TABLE professor
ADD CONSTRAINT professor_ibfk_1 FOREIGN KEY (idProf) REFERENCES teaching (idProf);

Thanks.

@aitoehigie
Copy link

Sad to see this project has been abandoned

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

No branches or pull requests

4 participants