hi !
i do not understand if is possible to create a SELECT that use INNER JOIN
in b4a
this code
gives me the right error "no such table:work_area"
if i use "SQL2.ExecQuery" gives the same error about "names"
so ... what is the right sintax in b4a to create a INNER JOIN ?
many thanks
peppe
i do not understand if is possible to create a SELECT that use INNER JOIN
in b4a
this code
B4X:
Dim SQL1 As SQL
Dim SQL2 As SQL
Dim Cursor1 As Cursor
SQL1.Initialize(db_dir,"names.db",True)
SQL2.Initialize(db_dir,"work_area.db",True)
Cursor1 = SQL1.ExecQuery("SELECT * FROM names INNER JOIN work_area ON names.id = work_area.id")
gives me the right error "no such table:work_area"
if i use "SQL2.ExecQuery" gives the same error about "names"
so ... what is the right sintax in b4a to create a INNER JOIN ?
many thanks
peppe