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

feat: update sql solution to lc problem: No.1174 #2187

Merged
merged 2 commits into from
Jan 6, 2024
Merged

feat: update sql solution to lc problem: No.1174 #2187

merged 2 commits into from
Jan 6, 2024

Conversation

thinkasany
Copy link
Member

使用 AVG(order_date = customer_pref_delivery_date) 更加清晰地表达了你想要计算的百分比,而不需要在分子和分母中使用 SUM 和 COUNT。

@idoocs idoocs added md Issues or Pull requests relate to .md files core team Issues or pull requests from core team sql Issues or Pull requests relate to .sql files labels Jan 6, 2024
@thinkasany thinkasany closed this Jan 6, 2024
@thinkasany thinkasany deleted the think-dev branch January 6, 2024 12:04
@yanglbme yanglbme restored the think-dev branch January 6, 2024 15:22
@thinkasany thinkasany reopened this Jan 6, 2024
@yanglbme yanglbme merged commit 5b85006 into main Jan 6, 2024
6 of 7 checks passed
@yanglbme yanglbme deleted the think-dev branch January 6, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team Issues or pull requests from core team md Issues or Pull requests relate to .md files sql Issues or Pull requests relate to .sql files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants