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

Implement unique / DISTINCT #164

Closed
neilotoole opened this issue Mar 27, 2023 · 1 comment
Closed

Implement unique / DISTINCT #164

neilotoole opened this issue Mar 27, 2023 · 1 comment

Comments

@neilotoole
Copy link
Owner

sq should implement a unique function that maps to SQL DISTINCT.

$ sq '.actor | .first_name | unique

Which would map to:

SELECT DISTINCT first_name FROM actor
@neilotoole
Copy link
Owner Author

This is implemented. See query guide.

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

1 participant