Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

how to insert on both table in join table code example

Example: insert value to new table by joining 2 different tables

INSERT INTO table ( col1 , col2, col3, col4)
SELECT p.col1, p.col2, c.col3, c.col4
FROM table1 p
INNER JOIN table2 c ON c.Id = p.Id

Tags:

Sql Example

Related

add spacing between slick slides code example how push in json code example dot utility python code example tkinter max size code example javascrip first indexof code example how to make something point the mouse in unity code example aws js sdk download just lambda code example pandas add conditional column code example bootstrap search bar hf code example on application exit node code example how to check how many contents are in a list py3 code example locate postgres data directory code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy