mybatis输出五条语句
时间: 2023-08-13 14:09:20 浏览: 78
mybatis生成语句
1. 查询所有数据:SELECT * FROM table_name;
2. 插入数据:INSERT INTO table_name (column1, column2, ...) VALUES (value1, value2, ...);
3. 更新数据:UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition;
4. 删除数据:DELETE FROM table_name WHERE condition;
5. 条件查询:SELECT * FROM table_name WHERE condition;
阅读全文