0

I want to copy all rows from table and insert this rows in itself this table, that is if in table are rows

column
--------
A
B

I want obtain

column
--------
A
B
A
B

This may be make with php (or other language) right? but I interest, possible make this as 1 query? own mysql can this?

4

1 に答える 1

3

これを試して:

INSERT INTO `table` ( `column` )
    SELECT `column` FROM `table`;
于 2012-11-04T14:06:52.017 に答える