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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:21:01+00:00 2026-05-28T20:21:01+00:00

Lets say I have View1 and it’s got BreakfastID, Eggs, Toast for it’s columns

  • 0

Lets say I have View1 and it’s got BreakfastID, Eggs, Toast for it’s columns and View2 has the samething, but I want to combine them so that it looks like this: BreakfastID, Eggs, Eggs2, Toast, Toast2 is there an easy way?

Help would be appreciated

  • 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-28T20:21:02+00:00Added an answer on May 28, 2026 at 8:21 pm

    My Day database work is in MySQL so the syntax may reflect that, but the concept should be the same.

    In order to select from multiple views or tables with overlapping column names you need to make use of the AS Keyword to rename the overlapping variables, and the table.column syntax to specify what table you’re selecting from.

    In your case:

    SELECT View1.BreakfastID AS BreakfastID, View1.Eggs AS Eggs, View2.Eggs AS Eggs2, View1.Toast AS Toast, View2.Toast AS Toast2 FROM View1, View2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, lets say I have a $somestring thats holds the value main/physician/physician_view. I want
So lets say I have the following rails app: myrailsapp.com and if you want
lets say I have an NSWindow Class, that has several events for mouse and
Lets say you have an object of Type Item and it has attributes of
Lets say I have a site that has a Layout with navigation. This navigation
Lets say we have an Edit View to edit our data, and we want
For the sake of simplicity, lets say I have a CustomerViewModel and I want
I have a view, lets say 100x100. And it has set of uiviews as
Lets say i have a table that has the following field names 'id' 'likes'
I am using backbone.js here is my scenario Lets say I have a view

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.