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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:36:28+00:00 2026-06-01T06:36:28+00:00

I have many databases that uses various column-names for the same things. For example,

  • 0

I have many databases that uses various column-names for the same things. For example, ‘a1’ in one table and ‘a11’ in other table and so on. Those tables are mapped through the secondary table. This means, as far as I know, for example, ‘a’ might be used to map both ‘a1’ and ‘a2’ Since I am not proficient with sql, I don’t know how the actual mapping is done in the secondary (or main) table. My question is: Is there a direct way to know, by writing query to the mapped table( secondary table), the other column-name which are mapped to that column?

  • 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-01T06:36:30+00:00Added an answer on June 1, 2026 at 6:36 am

    I believe AS will help you. It is used to map columns to a name you provide.

    SELECT a1 AS first_a, a2 AS second_a FROM your_table;
    

    Read more…

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

Sidebar

Related Questions

Many applications have grids that display data from a database table one page at
Many databases have tables with many columns, but ScalaQuery uses tuples to represent table
I have a table within my database that has many records, some records share
I have a Python script that pulls in data from many sources (databases, files,
I have an application that queries and updates two databases at the same time
I have a SQL Server 2008 database table that uses uniqueidentifier as a primary
I have an application that uses data from a table which is almost always
I've worked on a program that uses databases to send small messages from one
I have many collections of documents in a mongo database that look like this:
I have the following tables in my database that have a many-to-many relationship, which

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.