Witam mam problem z zapytaniem MySQL.
Wygląda ono tak
INSERT INTO 'order' VALUES (NULL, 1, 1, 'Test', 'test', 'oczekuje')
Struktura tabeli
Jest niżej przecież
Zapytanie SQL: INSERT INTO order VALUES (NULL, 1, 1, 'Test', 'test', 'oczekuje') MySQL zwrócił komunikat: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order VALUES (NULL, 1, 1, 'Test', 'test', 'oczekuje')' at line 1
Zapytanie SQL:
INSERT INTO order VALUES (NULL, 1, 1, 'Test', 'test', 'oczekuje')
MySQL zwrócił komunikat:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order VALUES (NULL, 1, 1, 'Test', 'test', 'oczekuje')' at line 1
Spróbuj
INSERT INTO order(id_user,id_product,s_name,ssh_host,status) VALUES ( 1, 1, 'Test', 'test', 'oczekuje')
93,463 zapytań
142,459 odpowiedzi
322,727 komentarzy
62,840 pasjonatów
Motyw:
Pajacyk od wielu lat dożywia dzieci. Pomóż klikając w zielony brzuszek na stronie. Dziękujemy! ♡
Oto polecana książka warta uwagi.Pełną listę książek znajdziesz tutaj