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

多表嵌套排序出现问题 #47

Open
brucezhouzhou opened this issue Jun 9, 2020 · 0 comments
Open

多表嵌套排序出现问题 #47

brucezhouzhou opened this issue Jun 9, 2020 · 0 comments
Labels

Comments

@brucezhouzhou
Copy link

brucezhouzhou commented Jun 9, 2020

  1. 多表连接查询后查看了生成的原生sql,是一个子查询sql,在子查询sql里有三张表是内连接。想对三张表其中一个张company表的name字段进行排序, 结果报错未知的列。
  2. 这是把company改成 左链接(required: false) 后正确,sql没有报错,但数据结果并不是期望那样。
    问题描述:子查询内的内连接排序该如何实现。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants