user: Question: what is the total number of ties played where total w–l is 38–24
Columns: ['Player', 'Total W–L', 'Singles W–L', 'Doubles W–L', 'Ties played', 'Debut', 'Years played']
Types: ['text', 'text', 'text', 'text', 'real', 'real', 'real']
Sample row: ['Željko Franulović Category:Articles with hCards', '32–27', '23–15', '9–12', 22.0, 1967.0, 12.0]
SQL:

assistant: SELECT SUM("Ties played") FROM "Table" WHERE "Total W–L" = '38–24';