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 8415295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:24:17+00:00 2026-06-10T01:24:17+00:00

We have a table with several fields, like 300+. the structure is like this:

  • 0

We have a table with several fields, like 300+. the structure is like this:
storenum, Monval1, Monval2… Monval45, Monval46… Tuesval1, Tuesval2 and so on. basically for values 1 thru 53 there is a version for each day of the week so 53 fields * 7 days plus a few other random fields.

i need to update stores 3 thru 285 with data from store 1. what i tried:

Update (Select MonVal1... SunVal53 from table1 
 where storenum in (3, 4,...284,285)) as Dest
From (Select MonVal1... SunVal53 from table1 
 where storenum =1) as Source

but its a nogo.

can what i’m trying to do even be done?

  • 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-10T01:24:19+00:00Added an answer on June 10, 2026 at 1:24 am
    Update table1 set
        MonVal1    = origin.MonVal1, 
        /* the orher fields here */
        SunVal53   = origin.SunVal53
    from table1
    inner join table1 as origin on origin.storenum = 1
    where table1.storenum in (3, 4,...284,285)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table with several account fields like this: MAIN_ACCT GROUP_ACCT SUB_ACCT I
I have a MySQL table containing several fields; like this: id name ton dyr
I have several table related to multilingual Photo Galley like AlbumCategories AlbumName Photos PhotoDetails
I currently have a large table in MySQL with several fields. I am currently
I have a table with several fields and one field having 3 Comma Separated
I have a table and in the table it has several fields that are
I have a table containing several fields. The primary key is userId . Currently
I have a scroll view which contains several objects like text fields,labels,switch etc..Now as
I have a table in MySql with several different fields, one of them contains
I have a tablestructure like this: Table entity ( otherEntity_id int // primarykey 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.