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

  • SEARCH
  • Home
  • 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 8486137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:51:33+00:00 2026-06-10T20:51:33+00:00

Please help me in resolving this query. Table t1 having t1c1 and t1c2 columns.

  • 0

Please help me in resolving this query.

  1. Table t1 having “t1c1” and “t1c2” columns.

  2. Table t2 having “t2c2” and “t2c2” columns.

I have to insert values into t3 table having “t3c1″,”t3c2″,t3c3” columns.

The condition is that “t3c2” column values should be populated from “t1c2” column and “t3c3” column should be populated from “t2c2” column and “t3c1” should be populated from cursor values.

Can someone help in this? Is this possible?

  • 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-06-10T20:51:35+00:00Added an answer on June 10, 2026 at 8:51 pm

    This should work:

    INSERT INTO t3 (t3c1, t3c2, t3c3)
    SELECT currval, t1.t1c2, t2.t2c2
    FROM t1, t2;
    

    If you need to match only certain rows in t1 and t2, you can add:

    WHERE t1.t1c1 = 'value'
      AND t2.t2c1 = 'value';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following and having difficulty resolving the error please help. i have
Please help me somebody to convert unicodestring into string This is how i am
Please help me with this update query. I COMPLETELY understand how redundant this is
Please help me to figure this out. I am having two tab bar items
I need to write a query like this, any help please? select id, parent,
I have been frustrated by this for like a day...please help. I have an
Please help me in resolving this issue. I'm writing a java SOAP client to
please help me arrange these 3 buttons horizontally like this photoshopped image: Please take
Please help me look into my simple test case: import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; import
Please help! I have designed a dashboard that uses gadgets. One of the gadgets

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.