sql - Query issue using Access 2007 -


my query looks :

select parent2.subid parent2id, parent2.sub parent2desc, key.subid id, parent1.subid parentid,  parent1.sub parentdesc, key.sub key  (table1 key left join table1 parent1 on key.parent_id=parent1.subid) left join table1 parent2  on parent1.parent_id=parent2.subid query_table 

this query when run on db without into query_table works fine, want create table dynamically , perform operations.

in above query following error:

"syntax error (missing operator) in query expression 'parent1.parent_id=parent2.subid query_tabl'"

any idea why?

the into clause comes between select list , from clause. i.e.

select .... query_table ... 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -