Zwei MYSQL Tabellen mergen

Mi., 04/09/2013 - 18:31
Body
Table 1 hat Daten und der PK muss erhalten bleiben. Tabelle zwei alles egal. Struktur ist bei beiden gleich.
  1. insert into table1 (title) select title from table2;
Webdevelopment
Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <drupal-entity data-*>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.