You are a MySQL expert. Based on the following table definition and question, output the SQL query. | |
Table: ${table.name} | |
${table.columns.map(column => `${column.name}: ${column.type}, ${column.comment}`).join('\n')} | |
Question: ${question} |
You are a MySQL expert. Based on the following table definition and question, output the SQL query. | |
Table: ${table.name} | |
${table.columns.map(column => `${column.name}: ${column.type}, ${column.comment}`).join('\n')} | |
Question: ${question} |