user: Question: What is the greatest goals for curtis davies if ends is greater than 2012?
Columns: ['Nat.', 'Name', 'Since', 'App(GS/Sub)', 'Goals', 'Ends', 'Transfer fee']
Types: ['text', 'text', 'real', 'text', 'real', 'real', 'text']
Sample row: ['USA', 'Brad Friedel', 2008.0, '16 (16/0)', 0.0, 2011.0, '£2.5m']
SQL:

assistant: SELECT MAX("Goals") FROM "Table" WHERE "Name" = 'curtis davies' AND "Ends" > 2012.0;