SQL Copy Table
If you want to copy a SQL table into another table in the same SQL database then you can do with the copy statement .
Syntax ->
select * into destinationTable from sourceTable ;
Example ->
**Student name** **Student Age** **Student Id**
Mukesh 23 1
Ayush 24 2
select * into studentInfo from student ;
So student table data will copied into studentInfo .
0 Comment(s)