Skip to content

SELECT MIN "column name invalid" #1729

Answered by abonander
leshow asked this question in Q&A
Discussion options

You must be logged in to vote

If this is with the macros, you need to give the column a name that is a valid Rust identifier. The default name for the column here is literally min(column) so that's not gonna work.

Try SELECT MIN(column) AS column_min FROM table

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leshow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants