Closed mikem011 closed 6 years ago
I am attempting to query a table for the MAX() of a field. I would like to execute the following select statement: SELECT MAX(id) FROM
I am preparing the select statement like this: let select_stmt = try con.prepare("SELECT MAX(id) FROM students")
How would execute this statement using the query function?
I am attempting to query a table for the MAX() of a field. I would like to execute the following select statement: SELECT MAX(id) FROM
I am preparing the select statement like this: let select_stmt = try con.prepare("SELECT MAX(id) FROM students")
How would execute this statement using the query function?