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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:07:38+00:00 2026-05-12T12:07:38+00:00

I am having a table with records like this in MS Access: ID field2

  • 0

I am having a table with records like this in MS Access:

ID  field2  field3  field4  field5
1   345       asr
2             ase     567    788
3   456       ghy
4             jki     568    899
5   235       yui
6             hju     456    456

I want to merge it to get a table like this:

ID      field2  field3  field4  field5
1           345 asrase     567    788
3           456 ghyjki     568    899
5           235 yuihju     456    456

Is this possible with queries?

  • 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-12T12:07:38+00:00Added an answer on May 12, 2026 at 12:07 pm

    Assuming the rows continue like the example, this query would do:

    select a.id, 
        a.field2, 
        a.field3 + Iif(IsNull(b.field3),'',b.field3), 
        b.field4, 
        b.field5
    from table1 a
    left join table1 b on b.id = a.id + 1
    where a.field2 is not null
    

    It joins the table on itself, looking for the next row. It combines both rows to produce the desired result.

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

Sidebar

Related Questions

I've written a query which retrieves top 5 records from a table like this
I have an SQL Table named samples, defined like this: sampledate (datetime, 24 records
I have 3 columns in Oracle database having table mytable and i want records
Here the Situation . I am having 2 million records in table . Just
Having carefully and painfully manually populated/manipulated a series of records in a table, I
Suppose I have a table Item (Id int Primary Key, Number INT) having records
On MS access, how to get the ID of the records having duplicate content
Basically, having this table: 12.10 2.35 21.45 35.26 I want to, in each record,
I am using SQL server 2005. I have a table like this - ID
Let's say I have a table that looks like this: Id CheckboxId Selected DateCreated

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.