Database: tracking_grants_for_research
Question: How many staff does each project has? List the project id and the number in an ascending order.
SQL:
SELECT T1.project_id ,  count(*) FROM Project_Staff AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id GROUP BY T1.project_id ORDER BY count(*) ASC