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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:48:59+00:00 2026-05-23T13:48:59+00:00

I make query to get customer information: For example i would like to know

  • 0

I make query to get customer information:

For example i would like to know from what catalogue client made orders and after query i get:

client1 ABC
client1 BCD
client1 DDD

So i would like to put all those catalogues into 1 row:

client1 ABC, BCD, DDD

SELECT clientid, catalogue FROM A 
INNER JOIN B ON A.A=B.A
WHERE orderdate > '20110101'

Is it possible to make it so?

What should i use for it?

Thank you!

  • 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-23T13:48:59+00:00Added an answer on May 23, 2026 at 1:48 pm

    TRY THIS

    State (Tablename)  
    City (Columnname)  
    Chennai   
    Madurai   
    Coimbatore   
    
        declare @retstr varchar(8000)   
         select Top 5 @retstr = 
         COALESCE(@retstr + ';','') + City   
         from State   print @retstr   Result:
    
    Chennai;Madurai;Coimbatore
    

    MORE ON BELOW LINK

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

Sidebar

Related Questions

I need to make a query like this: SELECT PNPDeviceID FROM Win32_NetworkAdapter WHERE AdapterTypeId
I would like to make a query which needs to compare an property's property
I get a customer name from dropdown and use that value to query an
How do I get to make this sqsl query work: SELECT student.LASTNAME, student.FIRSTNAME, student.IDNO,
I make a query: String query = SELECT DISTINCT a FROM A a FETCH
I have a view that make a query to get the main menu: categories
I know I'm gonna get down votes, but I have to make sure if
I gather info from my customer with a regular query: select `ip`, `firstname`, `lastname`
In WPF app I use LINQ query to get values from ObservableCollection and update
I have to make a query that will get records containing wd2 substring or

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.