insert records into table from text file as well as from another table

hi writh .........
thanx for last responses....... i need your help agian plz help me out
i have two tables emp_company and at0310
in at0310 having fields: ecardno,atdate,time,IO,serialno,cardrd and ecode.
into my text file ecardno,atdate,time,IO,serialno,cardrd record available but ecode not comes from there
in my emp_compnay i have filed like ecode,ecardno,etc
i want into my at0310 ecode comes from emp_company and only those ecode should be stored into at0310
that matches with ecard with text file.... can you tell me any query .....
according to me select and insert needed but i cant place them in working order
plz help me out waiting for reply
thank you for taking the time to help me out!

hi writh .........
thanx for last responses....... i need your help agian plz help me out
i have two tables emp_company and at0310
in at0310 having fields: ecardno,atdate,time,IO,serialno,cardrd and ecode.
into my text file ecardno,atdate,time,IO,serialno,cardrd record available but ecode not comes from there
in my emp_compnay i have filed like ecode,ecardno,etc
i want into my at0310 ecode comes from emp_company and only those ecode should be stored into at0310
that matches with ecard with text file.... can you tell me any query .....
according to me select and insert needed but i cant place them in working order
plz help me out waiting for reply
thank you for taking the time to help me out!

this is simple insert query ........ but i want something different..........
i got someidea about it how i can insert ecode into my at0310 table from emp_company............ i feel i should use update query...
i used it so many times but desired result not come............. plz help me
about subquery of update ...........
i used dis query- but not working.
UPDATE at0310 SET (at0310.ecode) =( (SELECT ecode FROM emp_company
WHERE emp_company.ecardno = at0310.ecardno))";