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

Distinct keyword #42

Closed
sagittaracc opened this issue Apr 18, 2020 · 6 comments
Closed

Distinct keyword #42

sagittaracc opened this issue Apr 18, 2020 · 6 comments
Assignees
Labels
feature New feature or request

Comments

@sagittaracc
Copy link
Owner

No description provided.

@sagittaracc sagittaracc added the feature New feature or request label Apr 18, 2020
@sagittaracc sagittaracc self-assigned this Apr 18, 2020
@sagittaracc
Copy link
Owner Author

sagittaracc commented Apr 18, 2020

Как модификатор поля?

@sagittaracc
Copy link
Owner Author

Да, после стадии prepare building, перенести все поля по которым выполняется distinct в секцию после select like this
select => [...],
distinct => [список полей]

@sagittaracc
Copy link
Owner Author

Нет. так как дистинкт должен стоять для первого поля и далее применяется по всех указанным полям.

@sagittaracc
Copy link
Owner Author

syntax here
select distinct <a list of columns or *> from table [where .... etc]

@sagittaracc
Copy link
Owner Author

sagittaracc commented Apr 18, 2020

users.distinct {*}
Модификаторы таблиц?

@sagittaracc
Copy link
Owner Author

done

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

No branches or pull requests

1 participant