Skip to content

Empty result when there is only COUNT() in select list #8

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

Open
dataadventure opened this issue Feb 28, 2025 · 0 comments
Open

Empty result when there is only COUNT() in select list #8

dataadventure opened this issue Feb 28, 2025 · 0 comments

Comments

@dataadventure
Copy link

dataadventure commented Feb 28, 2025

SELECT count(*) from table_name ===> not supported, because there is only COUNT() in select list

SELECT count(*), min(num) from table_name ===>supported, because there is more than COUNT()

@dataadventure dataadventure changed the title 如果只有一个count()结果就是空的 Empty result when there is only COUNT() in select list Feb 28, 2025
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