human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Goal, Date, Score, Result, Competition
###Question: How many goals when the score is 3-0 in the euro 2012 q?
gpt
SELECT COUNT Goal FROM table WHERE Competition = euro 2012 q AND Score = 3-0