diff --git a/include/stmt.h b/include/stmt.h index fb52300..09ab864 100644 --- a/include/stmt.h +++ b/include/stmt.h @@ -30,8 +30,7 @@ static const char dump_stmt[] = static sqlite3_stmt* get_nth_id_stmt; static const char get_nth_id_stmt_template[] = "SELECT rowid " - "FROM projects " - "WHERE" - "LIMIT 1 " - "OFFSET ?;" + "FROM project " + "LIMIT 1 " + "OFFSET ?;" ;