select only_identity, product_id, lot_no, product_name, quantity, warehouse_id, stacking_id, spare1, spare2, spare3, spare4, spare5, spare6, voltage, power, phase from view_product_and_stock select only_identity, product_id, lot_no, product_name, quantity, warehouse_id, stacking_id, spare1, spare2, spare3, spare4, spare5, spare6, voltage, power, phase from view_product_and_stock_pd insert into view_product_and_stock only_identity, product_id, lot_no, product_name, quantity, warehouse_id, stacking_id, spare1, spare2, spare3, spare4, spare5, spare6, voltage, power, phase, #{onlyIdentity}, #{productId}, #{lotNo}, #{productName}, #{quantity}, #{warehouseId}, #{stackingId}, #{spare1}, #{spare2}, #{spare3}, #{spare4}, #{spare5}, #{spare6}, #{voltage}, #{power}, #{phase}, update view_product_and_stock product_id = #{productId}, lot_no = #{lotNo}, product_name = #{productName}, quantity = #{quantity}, warehouse_id = #{warehouseId}, stacking_id = #{stackingId}, spare1 = #{spare1}, spare2 = #{spare2}, spare3 = #{spare3}, spare4 = #{spare4}, spare5 = #{spare5}, spare6 = #{spare6}, voltage = #{voltage}, power = #{power}, phase = #{phase}, where only_identity = #{onlyIdentity} delete from view_product_and_stock where only_identity = #{onlyIdentity} delete from view_product_and_stock where only_identity in #{onlyIdentity}