Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 937503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:29:25+00:00 2026-05-15T21:29:25+00:00

USER and USER_1 I want to insert datas from USER_1 to USER. How to

  • 0

USER and USER_1

I want to insert datas from USER_1 to USER.

How to do it ?

I try to do it, but without success :

INSERT INTO USER WHERE id IN (SELECT *
FROM USER_1)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:29:26+00:00Added an answer on May 15, 2026 at 9:29 pm

    As long as you are sure the schemas are the same…

    Use:

    INSERT INTO USER
    SELECT * FROM USER_1
    

    This is the Syntax for SQL Server, not sure if it is identical in MySQL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to push user account data from an Active Directory to our
My code is as follows: var mysql= require('mysql'); var client = mysql.createClient({ user: 'root',
I have two arrays $oldInfo and $newInfo where $oldInfo is existing data from the
So I have a PHP backend that pulls some data from SQL, let's just
i am preparing myself for importing data from excel sheet to sql server 2005.I
I'm calling a php function from my $.ajax call to add a new item
I am writing a Macro in excel VBA that creates a data validation list
How can I check if a field exists in a table. I need an
I have the following tables albums: +----------------+-------------+------+-----+---------+----------------+ | Field | Type | Null |
I have three tables: log , activity and the jointable (many2many) log_activity (with log_id

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.