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

@lin-xin 可以联系我qq 截图 我看看。我这边是可以的。 #76

Open
ganqz opened this issue Mar 2, 2022 · 0 comments
Open

Comments

@ganqz
Copy link

ganqz commented Mar 2, 2022

code: 'ER_NO_SUCH_TABLE',
errno: 1146,
sqlMessage: "Table 'bnhcp.teacher' doesn't exist",
sqlState: '42S02',
index: 0,
sql: 'SELECT i.institutionsName,e.gradeId,w.gradeTwoId,t.teacherName,t.evalPerson, p.campusesName, c.*,\n' +
" date_format(open_date,'%Y-%m-%d') open_date1, \n" +
" date_format(end_date,'%Y-%m-%d') end_date1 \n" +
' from course c \n' +
' left join teacher t on c.teacher_id = t.thacherId\n' +
' left join campuses p on t.schoolId = p.campusesId\n' +
' left join institutions i on p.campusesParentId = i.institutionsId\n' +
' left join gradeThree h on c.course_id = h.gradeThreeId\n' +
' left join gradeTwo w on h.pid = w.gradeTwoId\n' +
' left join gradeOne e on w.pid = e.gradeId\n' +
' where e.gradeId=15963594 \n' +
' ORDER BY RAND()\n' +
' limit 0,15'
}
[nodemon] app crashed - waiting for file changes before starting...
[nodemon] restarting due to changes...
[nodemon] starting babel-node server/index.js
数据库不全 能否传个全的 貌似缺少了 teacher 的表

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

No branches or pull requests

1 participant