MySQL CREATE TABLE SELECT Sub-Query Example Selected Rows
Open your SQL Query Editor then copy & paste the below code to make a backup table holding all employees of IT Department (60) from a MySQL table using CREATE TABLE .. SELECT Sub-Query:
CREATE TABLE employees_it SELECT * FROM employees WHERE DepartmentID =60
MySQL CREATE TABLE SELECT Sub-Query Example Selected Rows - Execution in SQL Query Editor
Related Tutorial Examples
- Creating Table(s) Using SQL Command MySQL Example
- Creating Database(s) Using SQL Command MySQL Example
- How to ADD Column In MySQL Existing Table Example
- How to Drop Column From MySQL Existing Table Example
- How to Modify Column From MySQL Existing Table Example
- Select From Multiple Database In a Query
- MySQL Database Object Existance Check SQL Example
- 19 Examples to Learn MySQL
- MySQL Sub Query: INSERT INTO SELECT *... Example
- 28 Basic Tutorials to Learn Oracle

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