![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 17.09.2009 Ostrzeżenie: (0%) ![]() ![]() |
Jak w MySQL wykonać coś takiego:
update data set gallery = 1 where gallery = 2 and category = 4; update data set gallery = 2 where gallery = 1 and category = 4; Chcę zamienić wszystkie gallery = 1 na 2 , a potem 2 na 1 id:1, gallery: 1 id:2, gallery: 1 id:3, gallery: 2 id:4, gallery: 2 na id:1, gallery: 2 id:2, gallery: 2 id:3, gallery: 1 id:4, gallery: 1 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 11:26 |