select id, picture_path, picture_location from base_picture_location SELECT seq_base_picture_location.NEXTVAL as id FROM DUAL insert into base_picture_location id, picture_path, picture_location, #{id}, #{picturePath}, #{pictureLocation}, update base_picture_location picture_path = #{picturePath}, picture_location = #{pictureLocation}, where id = #{id} delete from base_picture_location where id = #{id} delete from base_picture_location where id in #{id}