title: Before commiting the transaction, what happens to the queries on a tables which are being used in that transaction?
body: <p>I have a situation where I need to lock 2 tables, until some operations are done on those 2 tables individually. For that I have chosen "TRANSACTIONS". 
  So, between "START TRANSACTION" and "COMMIT".. if anyone tries to insert into those tables, what happens to those queries? will they be maintained in the queue and will be executed after the transaction is completed?
  Ideally, whats my requirement is.. they should not get inserted until my transaction has got commited.</p>
  
  <p>Please anyone tell me the scenario.</p>
  
  <p>Thanks in advance!
  SuryaPavan</p>