MySQL Forums
Forum List  »  General

Particular SQL takes more than 5 hours to run in SQL developer
Posted by: Dorothy Timina
Date: May 03, 2016 12:09PM

Hi Team,



I am trying to run the below query in SQL developer , its taking many hours to run this query,i don't exactly understand the reason for a long execution time, please assist.

Data Base: MySQL

Total Number of records in table: 100000

Application used to Run the query : SQL Developer

RequestID in the below query is a Primary Key of the table,

select *

from WalletCSV.I_requests as requests

where exists (

select 'X'

from WalletCSV.I_requests as E

where requests.requestID = E.requestID

group by E.requestID

having count(*) > 1

)



Regards,

Gowtham Raja S

+91 9787585961

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.