MySQL INSERT INTO SELECT Sub-Query Example Selected Columns
Open your SQL Query Editor then copy & paste the below code to insert some Selected column(s) data from another table using INSERT INTO.. SELECT MySQL Sub-Query:
INSERT INTO test( TestName ) SELECT LastName FROM employees WHERE EmployeeID >101;
MySQL INSERT INTO SELECT Sub-Query Example Selected Columns - Execution in SQL Query Editor
Related Tutorial Examples
- MySQL Sample Database Script Like Oracle HR Schema
- MySQL Sub Query: INSERT INTO SELECT *... Example
- MySQL Sub Query: CREATE TABLE SELECT... Example
- MySQL Sub Query: CREATE TABLE SELECT *... Example
- MySQL TRUNCATE TABLE Example
- Parentheses In SQL Command MySQL Example
- Aliase Column Name In SQL Command MySQL Example
- Operator Precedence In SQL Command MySQL Example
- 19 Examples to Learn MySQL
- 28 Basic Tutorials to Learn Oracle

No comments:
Post a Comment
leave your comments here..