export some JIRA portfolio data from database

Can you please help us to generate a report from JIRA database which are relates to JIRA portfolio. I have an idea about JIRA db schema, but don’t know how it is designed tables for JIRA portfolio.

column I requires in output of db query is:
-User’s Name
-weekly hours
-Team name
-Plan name
-Team velocity