the table named: products. it have five hundred rows record. the table have field :products_modelproducts_price. the products_model is unique。
the original value that stored in products table are all 0.0000. now i want to update it with batch in phpmyadmin according to the 'products_model`.
i prepared the data in excel with two columns, 'products_modelthe new valueproducts_price`(according to some reason, some may be empty). how do i do? thank you.
i am sorry, i don’t know how to do it? could you say it more clearly. thank you.how to set the data in the excel? and how to load it? how to use a joined update?
did you save it from excel as a tab-delimited csv?
look it up in the manual
you’re not supposed to load the csv into your main table, you’re supposed to load the csv into a separate table, and then use the separate table to update the products table