I want to duplicate a specific teacher so that they appear twice in the output of a SELECT
statement.
Teacher | Grade | District |
---|---|---|
Mr. Smith | 3rd | West |
Mrs. John | 4th | South |
Mr. Cameron | 2nd | North |
Mr. Cameron | 2nd | North |
Kirk Horn | 1st | West |
Desired result, after duplicating 'Mr. Cameron':
Teacher | Grade | District |
---|---|---|
Mr. Smith | 3rd | West |
Mrs. John | 4th | South |
Mr. Cameron | 2nd | North |
Mr. Cameron | 2nd | North |
Mr. Cameron | 2nd | North |
Mr. Cameron | 2nd | North |
Kirk Horn | 1st | West |
What would a SELECT
statement look like - without creating a new a table?
I want to do something like this but without the INSERT
:
https://dba.stackexchange.com/questions/142414/easiest-way-to-duplicate-rows