hallo,
hab 2 tabellen, bei denen ich 2 felder in eine andere tabelle bringen möchte.
hierfür hab ich:
INSERT INTO orte
(zusatzinfo2,name) VALUES
(
SELECT loc_id,text_val FROM geodb_textdata WHERE text_locale="de"
)
=>
MySQL meldet:
#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 'SELECT loc_id,text_val FROM geodb_textdata WHERE text_locale="de"
)' at line 4
teste ich SELECT loc_id,text_val FROM geodb_textdata WHERE text_locale="de" allein, gibt es keine probleme.
aber in kombination mit dem isert :(
warum?
woran könnte es liegen?
bzw. wie find ich das raus?
DANKE