/ Published in: SQL

More for me than anything else
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SHOW CREATE TABLE `tablename` DESCRIBE `table` EXPLAIN SELECT ... ALTER TABLE playlist_events ADD FOREIGN KEY (playlist_id) REFERENCES playlists (id) ALTER TABLE playlists CONVERT TO CHARACTER SET utf8 ALTER TABLE tbl_name DROP FOREIGN KEY fk_symbol -- Insert data from other table INSERT INTO TestTable (FirstName, LastName) SELECT FirstName, LastName FROM Contact WHERE EmailPromotion = 2
Comments
