For each phone, show its names and total number of stocks.
SELECT T2.Name ,  sum(T1.Num_of_stock) FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID  =  T2.Phone_ID GROUP BY T2.Name
SELECT T2.Name ,  sum(T1.Num_of_stock) FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID  =  T2.Phone_ID GROUP BY T2.Name
[{'Name': 'IPhone 5s', 'sum(T1.Num_of_stock)': 2914}, {'Name': 'IPhone 6s', 'sum(T1.Num_of_stock)': 4324}, {'Name': 'IPhone 7', 'sum(T1.Num_of_stock)': 874}, {'Name': 'IPhone X', 'sum(T1.Num_of_stock)': 2540}]