Tag Archives: MySQL

insert into table from a second table

Its simple but i thought of leaving it here if i forget (which is usually the case) how to do it again. If you want to insert the records from tableA into tableB, you do something like this: INSERT INTO tableA SELECT * FROM tableB You have to make sure all fields are the same… Read More »

First post / Primeiro post

This site will contain an archive of all the junk, problems, code snippets, tricks, hacks, solutions and garbage i want to keep to later use, reuse, alter, etc. Hopefully it will be of help to someone else. In portuguese: Este site conterá um arquivo de todas as tralhas, problemas, soluções e lixo que eu vou… Read More »