SQL query you can use for both INSERT into values and SELECT.
This query saves your time when you do testing in development regions or working in data warehousing projects.
The Query INSERT and SELECT
The simple syntax is
INSERT INTO table_name
SELECT * FROM table_name;
To learn the above query is more than enough . The real advantage of this SQL query is you can insert values as many as you want and you can see the data you inserted.
Real SQL query
CREATE TABLE SRNI_TABLE
(NAME CHAR (10),ROLE CHAR(10));
INSERT INTO SRNI_TABLE
The benefits of INSERT and SELECT
- You can avoid mistakes
- Saves time again to re-check the values