user: Question: What is the title written by David Mamet?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date']
Types: ['real', 'real', 'text', 'text', 'text', 'text']
Sample row: [126.0, 2.0, '"A Case of Klapp"', 'Scott Brazil', 'Terry Curtis Fox', 'October9,1986']
SQL:

assistant: SELECT "Title" FROM "Table" WHERE "Written by" = 'David Mamet';