Hi,
I have a problem with the following code:
UPDATE History JOIN Kinos
SET History.KinoID=Kinos.id
WHERE History.Kino=Kinos.Kino;
when it's executed phpmyadmin shows only a white page (the left frame is still there) or
this:
"Proxy Error
The proxy server received an invalid response from an...
I got it :D
I don't know why but the entries in tbale city weren't ok.
I truncated the tabele and inserted them a second time.
Works just fine.
Thanks for all the great tips. I wouldn't have known this.
The problem seems to be in table "City":
SELECT CHAR_LENGTH( 'Frankfurt am Main' ) , LENGTH( 'Frankfurt am Main' ) , 'Frankfurt am Main';# Zeilen: 1
SELECT CHAR_LENGTH( City ) , LENGTH( City ) , City
FROM Cinemas
WHERE City = 'Frankfurt am Main';# Zeilen: 4
SELECT CHAR_LENGTH( City ) ...
Nothing works :(
I tried:
UPDATE Cinemas JOIN City
ON (Cinemas.City=City.City)
SET Cinemas.CityID=City.id;
UPDATE Cinemas,City
SET Cinemas.CityID=City.id
WHERE Cinemas.City=City.City;
SELECT Cinemas.City, City.City FROM Cinemas
INNER JOIN City
ON Cinemas.City=City.City
SELECT * FROM Cinemas...
Hi,
I have got two tables. One with a list of cities
(table_name: City
columns: 2
col_1: id
col_2: City)
the other one with a list of names of movie theatres in several cities
(table_name: Cinemas
columns: 16
col_1: id
col_2: City
col_3...
col_16: CityID)
I'm trying to UPDATE 'Cinemas'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.