Hello all,
I compose this SQL statement
"SELECT * FROM ACT_CUS_DATA JOIN ACTIVITIES USING ACTIVITY_ID WHERE CUS_VALUE >= 1339 ORDER BY CUS_VALUE DESC, CREATION_DATE ASC"
This statement has 2 features I'm using the first time
1) a [inner] Join
2) Sorting in different ways with different
I receive an error by the compiler saying
"... SqlException: near ACTIVITY_ID syntax error (code 1) ...."
but I'm not able to identify the issue.
The name of fields and tables seems to be ok.
I've also checked the statement with a couple of SQLite tutorial (here my reference)
Any suggestion will be welcome.
Thanks in advance
Corrado
BTW
Not easy to extract this information, I had to manually type them.
Is there a smarter way to do it?
I compose this SQL statement
"SELECT * FROM ACT_CUS_DATA JOIN ACTIVITIES USING ACTIVITY_ID WHERE CUS_VALUE >= 1339 ORDER BY CUS_VALUE DESC, CREATION_DATE ASC"
This statement has 2 features I'm using the first time
1) a [inner] Join
2) Sorting in different ways with different
I receive an error by the compiler saying
"... SqlException: near ACTIVITY_ID syntax error (code 1) ...."
but I'm not able to identify the issue.
The name of fields and tables seems to be ok.
I've also checked the statement with a couple of SQLite tutorial (here my reference)
Any suggestion will be welcome.
Thanks in advance
Corrado
BTW
Not easy to extract this information, I had to manually type them.
Is there a smarter way to do it?