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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:45:15+00:00 2026-06-08T01:45:15+00:00

I have these Data:- ———————– 1 ——————————————————— select Com.CountryName+’, ‘+Cm.CityName+’, ‘+Fac.FacilityName+’, ‘+FM.FloorCode as Details

  • 0

I have these Data:-

———————– 1 ———————————————————

select Com.CountryName+', '+Cm.CityName+', '+Fac.FacilityName+', '+FM.FloorCode as Details

from MC_MeetingRoom_Master MR join MC_Floor_Master FM on MR.FloorID=FM.FloorID AND FM.IsActive=1

JOIN MC_Building_Master BM on BM.BuildingID=FM.BuildingID AND BM.IsActive=1

JOIN MC_Facility_Master Fac on BM.FacilityID=Fac.FacilityID and Fac.IsActive=1

join MC_City_Master Cm on Fac.CityID = Cm.CityID and Cm.IsActive=1

join MC_Country_Master Com on Cm.CountryID=Com.CountryID and Com.IsActive=1

WHERE MeetingRoomID=1000

The above query shows:-

India, Chennai, CHN - DLF Infocity - SEZ, 3rd Floor

————————– 2 ————————————————————-

Another table where

select [MeetingRoomID],[Capacity],[MeetingRoomVNET], 
CASE WHEN [HasProjector] =0 then 'No' 
ELSE 'Yes' 
END [HasProjector],
CASE WHEN [HasLan]=0 
then 'No' 
ELSE 'Yes' 
END [HasLan],
CASE WHEN [HasComputer]=0 
then 'No' 
ELSE 'Yes' 
END [HasComputer],
CASE WHEN [HasWhiteBoard]=0 
then 'No' 
ELSE 'Yes' 
END [HasWhiteBoard],
[MeetingRoomAdminMail]
from MC_MeetingRoom_Master 
where [MeetingRoomID]=1023

The above query shows columns:-

1023 25 0 No No No No Admin.Helpdesk@cognizant.com

But i wanted to join both the queries…??

Do i need to create stored procedures..??

  • 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-08T01:45:18+00:00Added an answer on June 8, 2026 at 1:45 am

    The second query is picking up a few extra columns from the same table (MuC_MeetingRoom_Master) which is used in the first query (in the first join).

    By joining both the queries, I am assuming you want the join conditions that are present in the first query to remain. In that case, all you have to do is add the list of columns that are being selected in the second query to the list of the columns that are selected in the first query.

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

Sidebar

Related Questions

I have a DataTable which I select from database (Well, these data cross several
I have these two data structures that I continually find myself choosing between when
Concerning data binding I have these classes: public class Foo : List<Bar> { public
I have a set of data with over 1000 entries. I can filter these
I have an Activity with 3 spinners. These spinners get their data from a
To generate a Table of Content, I have these data available in a Python
I have an excell fill with these data in it : Name1 1 2
I have a class with some data members (int, string, bool, Point). These data
I have three integer values. I need to represent these data as a chart.
The long double data type can have these conversion specifiers in C: %Le,%LE,%Lf,%Lg,%LG (

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.