MAGENTO 1.X – MAKE BASIC AND DIRECT SQL QUERIES


  • Select from table
  • Select from table (with left join)
  • Insert
  • Update
  • Insert or update duplicated
    field1 must be unique key, to do so, you can perform: << ALTER TABLE tablename ADD UNIQUE (field1); >>

 

Note: if you need to import any value with quotes ( eg: Children’s ), you will need to escape the field value. To do so, you can use: