Table:
Appearances and goals by club, season and competition

Club

Season

League

FA Cup

League Cup

Other

Total

Division
Apps
Goals
Apps
Goals
Apps
Goals
Apps
Goals
Apps
Goals

Manchester City

2001–02[95]

First Division

0
0
0
0
0
0
—
0
0

2002–03[96]

Premier League

0
0
0
0
0
0
—
0
0

2003–04[97]

Premier League

0
0
—
0
0
1[a]
0
1
0

Total

0
0
0
0
0
0
1
0
1
0

Bury (loan)

2003–04[97]

Third Division

13
0
1
0
—
1[b]
0
15
0

Sheffield Wednesday

2004–05[98]

League One

36
2
1
1
2
0
3[c]
1
42
4

2005–06[99]

Championship

43
1
1
0
2
0
—
46
1

2006–07[100]

Championship

38
7
2
0
1
1
—
41
8

2007–08[101]

Championship

25
2
2
0
3
1
—
30
3

Total

142
12
6
1
8
2
3
1
159
16

Stoke City

2007–08[101]

Championship

14
1
—
—
—
14
1

2008–09[102]

Premier League

26
1
1
0
4
2
—
31
3

2009–10[103]

Premier League

33
2
4
0
1
0
—
38
2

2010–11[104]

Premier League

29
0
7
0
3
0
—
39
0

2011–12[105]

Premier League

30
1
4
0
2
0
7[d]
1
43
2

2012–13[55]

Premier League

32
0
2
0
0
0
—
34
0

2013–14[59]

Premier League

32
0
1
0
3
0
—
36
0

2014–15[65]

Premier League

28
0
2
0
0
0
—
30
0

2015–16[69]

Premier League

37
0
1
0
4
0
—
42
0

2016–17[75]

Premier League

30
0
0
0
1
0
—
31
0

Total

291
5
22
0
18
2
7
1
338
8

Aston Villa

2017–18[106]

Championship

33
1
0
0
0
0
2[e]
0
35
1

2018–19[107]

Championship

10
1
0
0
1
0
—
11
1

Total

43
2
0
0
1
0
2
0
46
2

Career total

489
19
29
1
27
4
14
2
559
26

Recognize the table in the presented picture and represent it in the HTML-format. Only preserve the basic table structure and content.

<table border="1" cellspacing="0">
<tr> <td rowspan="2"> club </td> <td rowspan="2"> season </td> <td colspan="3"> league </td> <td colspan="2"> fa cup </td> <td colspan="2"> league cup </td> <td colspan="2"> other </td> <td colspan="2"> total </td> </tr>
<tr> <td> division </td> <td> apps </td> <td> goals </td> <td> apps </td> <td> goals </td> <td> apps </td> <td> goals </td> <td> apps </td> <td> goals </td> <td> apps </td> <td> goals </td> </tr>
<tr> <td rowspan="4"> manchester city </td> <td> 2001-02 </td> <td> first division </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 0 </td> <td> 0 </td> </tr>
<tr> <td> 2002-03 </td> <td> premier league </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 0 </td> <td> 0 </td> </tr>
<tr> <td> 2003-04 </td> <td> premier league </td> <td> 0 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 0 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> </tr>
<tr> <td colspan="2"> total </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> </tr>
<tr> <td> bury </td> <td> 2003-04 </td> <td> third division </td> <td> 13 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 1 </td> <td> 0 </td> <td> 15 </td> <td> 0 </td> </tr>
<tr> <td rowspan="5">   wednesday </td> <td> 2004-05 </td> <td> league one </td> <td> 36 </td> <td> 2 </td> <td> 1 </td> <td> 1 </td> <td> 2 </td> <td> 0 </td> <td> 3 </td> <td> 1 </td> <td> 42 </td> <td> 4 </td> </tr>
<tr> <td> 2005-06 </td> <td> championship </td> <td> 43 </td> <td> 1 </td> <td> 1 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 46 </td> <td> 1 </td> </tr>
<tr> <td> 2006-07 </td> <td> championship </td> <td> 38 </td> <td> 7 </td> <td> 2 </td> <td> 0 </td> <td> 1 </td> <td> 1 </td> <td colspan="2"> - </td> <td> 41 </td> <td> 8 </td> </tr>
<tr> <td> 2007-08 </td> <td> championship </td> <td> 25 </td> <td> 2 </td> <td> 2 </td> <td> 0 </td> <td> 3 </td> <td> 1 </td> <td colspan="2"> - </td> <td> 30 </td> <td> 3 </td> </tr>
<tr> <td colspan="2"> total </td> <td> 142 </td> <td> 12 </td> <td> 6 </td> <td> 1 </td> <td> 8 </td> <td> 2 </td> <td> 3 </td> <td> 1 </td> <td> 159 </td> <td> 16 </td> </tr>
<tr> <td rowspan="11"> stoke city </td> <td> 2007-08 </td> <td> championship </td> <td> 14 </td> <td> 1 </td> <td colspan="2"> - </td> <td> 14 </td> <td> 1 </td> <td> none </td> <td> none </td> <td> none </td> <td> none </td> </tr>
<tr> <td> 2008-09 </td> <td> premier league </td> <td> 26 </td> <td> 1 </td> <td> 1 </td> <td> 0 </td> <td> 4 </td> <td> 2 </td> <td colspan="2"> - </td> <td> 31 </td> <td> 3 </td> </tr>
<tr> <td> 2009-10 </td> <td> premier league </td> <td> 33 </td> <td> 2 </td> <td> 4 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 38 </td> <td> 2 </td> </tr>
<tr> <td> 2010-11 </td> <td> premier league </td> <td> 29 </td> <td> 0 </td> <td> 7 </td> <td> 0 </td> <td> 3 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 39 </td> <td> 0 </td> </tr>
<tr> <td> 2011-12 </td> <td> premier league </td> <td> 30 </td> <td> 1 </td> <td> 4 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td> 7 </td> <td> 1 </td> <td> 43 </td> <td> 2 </td> </tr>
<tr> <td> 2012-13 </td> <td> premier league </td> <td> 32 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 34 </td> <td> 0 </td> </tr>
<tr> <td> 2013-14 </td> <td> premier league </td> <td> 32 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td> 3 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 36 </td> <td> 0 </td> </tr>
<tr> <td> 2014-15 </td> <td> premier league </td> <td> 28 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 30 </td> <td> 0 </td> </tr>
<tr> <td> 2015-16 </td> <td> premier league </td> <td> 37 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td> 4 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 42 </td> <td> 0 </td> </tr>
<tr> <td> 2016-17 </td> <td> premier league </td> <td> 30 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 31 </td> <td> 0 </td> </tr>
<tr> <td colspan="2"> total </td> <td> 291 </td> <td> 5 </td> <td> 22 </td> <td> 0 </td> <td> 18 </td> <td> 2 </td> <td> 7 </td> <td> 1 </td> <td> 338 </td> <td> 8 </td> </tr>
<tr> <td rowspan="3"> aston villa </td> <td> 2017-18 </td> <td> championship </td> <td> 33 </td> <td> 1 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td> 35 </td> <td> 1 </td> </tr>
<tr> <td> 2018-19 </td> <td> championship </td> <td> 24 </td> <td> 1 </td> <td> 1 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td colspan="2"> - </td> <td> 26 </td> <td> 1 </td> </tr>
<tr> <td colspan="2"> total </td> <td> 57 </td> <td> 2 </td> <td> 1 </td> <td> 0 </td> <td> 1 </td> <td> 0 </td> <td> 2 </td> <td> 0 </td> <td> 61 </td> <td> 2 </td> </tr>
<tr> <td colspan="3"> career total </td> <td> 503 </td> <td> 19 </td> <td> 30 </td> <td> 1 </td> <td> 27 </td> <td> 4 </td> <td> 14 </td> <td> 2 </td> <td> 573 </td> <td> 26 </td> </tr>
</table>