Technically, yes, it's all in tables, but it's not a direct relationship and some of the data is stored in blocks, not normalised in any way, so you can't just use SQL to get to it.
That brings me back to "why"? What are you trying to achieve here?
Right, well, that's "current usage" which is a statistic. The status that a project uses is not necessarily the same as what is currently in use.
It's also very easy to get to (unless you do it via the database, where it remains a bit of a pig, albeit a little easier than the original question)
Start a new filter, and blank it out. Save it with a name like "all issues". Go to your dashboard and add a filter statistics gadget, selecting "status" as the reporting variable and "all issues" for the filter. You now have a list of all status that are in use, and by how many issues.
It's not perfect, the gadget will drop lines where the total count is 0, but you can at least see the low usage ones, and you can use it to compare with the full list of status (if it's not on the gadget, then it's used by 0 issues and can be killed off. Or at least, check the workflow its using!)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs