text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_23 (squad_no INTEGER, goals VARCHAR, points VARCHAR, player VARCHAR)
  ### Question:
  What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
  ### Answer:
  SELECT SUM(squad_no) FROM table_name_23 WHERE points > 8 AND player = "danny mcguire" AND goals > 0