The Queries in this page solved at the library database. It is a sample database generated by randomly records. You can download it from the link. You will see more than 500 examples in the future. You can filter from the search panel above by selecting sql statements. I hope you will like it
Solution 1)
Insert into authors(name,surname)
select name,surname from students
where sinif='9A' and gender='M'
Solution 2)
Insert into authors
select name,surname from students
where sinif='9A' and gender='M'
ETİKETLER
Select - Insert - Where -Solution 1)
Insert into students(name,surname,sinif)
Select name,surname,'12M' from authors where name like '%a%'
ETİKETLER
Select - Insert - Where -