Q. Populate the table Department with data from table dept. Including only required columns.


Answer =

Insert into Department
Select id, name from dept ;

10 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Can we write like this?
    Insert into department values (101, "mahima") ;

    ReplyDelete
    Replies
    1. Yes, but you have to write all data one by one.

      Delete
  2. What's the use () after department ()

    ReplyDelete
  3. Can the answer be done in different way as well ....???

    ReplyDelete
  4. what is the use of pathwala : helps us to define cs
    nandri.....

    ReplyDelete
    Replies
    1. broooo!! tamil ahh!!!
      entha ooru eh!!

      Delete
  5. hg is gangleader!!

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post