8.4. 执行更新

要执行一次更新 (或任何其他不返回结果的 SQL语句), 你只需要使用 executeUpdate() 方法:

st.executeUpdate("CREATE TABLE basic (a int, b int)");