This query:

```
SELECT * FROM getlogs WHERE id > #id# AND logType = "login" LIMIT 1

```

Gives me this error:

```
Error Executing Database Query.

Query Of Queries syntax error.
Encountered "logType. Incorrect conditional expression, Incorrect conditional expression, Lexical error at line 0, column 0. Encountered: "\"" (34), after : ""

```