Question : Why this query is not executing?

I want to execute the query like this,

insert into exampassedlist2008 (studentid) values(select distinct studentid from examstusubbatch2009)

will this work?

Answer : Why this query is not executing?

dont think you need values

insert into exampassedlist2008 (studentid) select distinct studentid from examstusubbatch2009
Random Solutions  
 
programming4us programming4us