mysql消除关键字

用键盘ESC左下面的那个`键,如 下面sql 语句的area和version:

    StringBuilder sql = new StringBuilder("INSERT INTO ").append(TABLE_NAME).

                append(" (tid, `area`, activityType, city, createAtMin, createAtMax, expiryAt,").

                append(" persons, sex, cost, `version`)").append(" VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");

注意:一般不这样用,换另一个别名。

猜你喜欢

转载自breezylee.iteye.com/blog/1965671