MySql SELECT query not working after INSERT query -



MySql SELECT query not working after INSERT query -

i have table next structure:

create table emp ( id int( 11 ) not null auto_increment, fname varchar( 20 ) character set latin1 collate latin1_swedish_ci null , lname varchar( 20 ) character set latin1 collate latin1_swedish_ci null , category varchar( 20 ) character set latin1 collate latin1_swedish_ci null , primary key (id) );

i first inserted null values table. inserted 3-4 records (used auto increment).

there huge select query in bring together table 7 other tables. when run select query 1 null record in table, query works. if run select query after inserting few values in above table, select query hangs , consuming whole lot of cpu. cause?? please help.

update 1:

my query

select * g, id, j, epm, isg, des, eng, pace, mal, msa, u, sa, db, qa, s, mk, p, sre, sec, t t.st = 'open' , t.id = j.pid , t.g_id = g.gid , t.pu_id = id.puid , t.a_id = epm.aid , t.i_id = isg.iid , t.d_id = des.did , t.e_id = eng.eid , t.pace_id = pace.paceid , t.m_id = mal.mid , t.sa_id = msa.said , t.u_id = u.uid , t.s_id = sa.sid , t.dba_id = db.dbaid , t.qa_id = qa.qaid , t.sup_id = s.supid , t.mkt_id = mk.mktid , t.pan_id = p.panid , t.sec_id = sec.secid , t.sre_id = sre.sreid order g.name;

mysql select insert

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -