user: ### NOW ANSWER:
Question: What is the license number where the maximum diameter is 400 mm?
Columns: ['Name (year commissioned)', 'Owner/operator', 'Length', 'Maximum diameter', 'From/to', 'Licence number']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Dampier to Bunbury Natural Gas Pipeline (1984)', 'Dampier Bunbury Pipeline', '1,530km', '660 mm', 'Dampier to Bunbury', 'PL 40']
SQL:

assistant: SELECT "Licence number" FROM "Table" WHERE "Maximum diameter" = '400 mm';