Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL] UPDATE
Enikc
post
Post #1





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 8.01.2015

Ostrzeżenie: (0%)
-----


Maunal:
  1. UPDATE
  2. TABLE
  3. SET
  4. TABLE.col1 = other_table.col1,
  5. TABLE.col2 = other_table.col2
  6. FROM
  7. TABLE
  8. INNER JOIN
  9. other_table
  10. ON
  11. TABLE.id = other_table.id


Moje wypociny:
  1. UPDATE oc_product
  2. SET oc_product.tax_class_id =0
  3. JOIN oc_product_to_manufacturer
  4. ON oc_product_to_manufacturer.product_id = oc_product.product_id
  5. WHERE oc_product_to_manufacturer.manufacturer_id =7
  6. AND oc_product.tax_class_id =9
  7. AND oc_product.price > 47.9


gdzie popelnilem blad?


Ten post edytował Enikc 13.03.2015, 15:28:01
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 04:37