Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Usuwanie takich samych wierszy
xavierek
post
Post #1





Grupa: Zarejestrowani
Postów: 92
Pomógł: 2
Dołączył: 22.03.2009

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


Witam mam baze danych która wyglada tak -- phpMyAdmin SQL Dump

  1. -- Baza danych: `shadow`
  2. --
  3.  
  4. -- --------------------------------------------------------
  5.  
  6. --
  7. -- Struktura tabeli dla `player_items`
  8. --
  9.  
  10. CREATE TABLE IF NOT EXISTS `player_items` (
  11. `player_id` int(11) NOT NULL DEFAULT '0',
  12. `pid` int(11) NOT NULL DEFAULT '0',
  13. `sid` int(11) NOT NULL DEFAULT '0',
  14. `itemtype` int(11) NOT NULL DEFAULT '0',
  15. `count` int(11) NOT NULL DEFAULT '0',
  16. `attributes` blob NOT NULL,
  17. UNIQUE KEY `player_id_2` (`player_id`,`sid`),
  18. KEY `player_id` (`player_id`)
  19. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;


i chciał bym usunąć wszystkie powtarzające się wpisy pod wzgledem atributs jest to blob czy jest taka możliwość wy MySQL
Go to the top of the page
+Quote Post
Pilsener
post
Post #2





Grupa: Zarejestrowani
Postów: 1 590
Pomógł: 185
Dołączył: 19.04.2006
Skąd: Gdańsk

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


Używaj opcji "szukaj" (forum/google/cokolwiek):
http://forum.php.pl/index.php?showtopic=115729
http://forum.php.pl/index.php?showtopic=108105
http://forum.php.pl/index.php?showtopic=103622
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 15.09.2025 - 01:47