SQL is the single worst possible way to report on Jira, please do it properly with the UI or API.
If you insist on doing it the wrong way, look in the changeitem table, which you'll then need to join to at least two other tables just to get the basics out.
Why JQL query is not enough for you? It would be like this
status changed from Resolved to Reopened during ("date1", "date2")
You could also pass the JQL query to REST API call (search method) and get all issues which satisfy the condition. It would be a much cleaner solution.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG