Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL - Display Question

Status
Not open for further replies.

AndrewWiggins99

Programmer
Jul 30, 2014
12
CA
Here is the table structure. How can I display the data into one column (Access) grouped on User_ID and Group columns (see Expected Result)

Group DT ACCESS USER_ID
TAG 01/01/2019 U JOHNS
TAG 01/01/2019 R JOHNS
FIR 01/02/2009 R SAMS

Result:
Group DT ACCESS USER_ID
TAG 01/01/2019 U, R JOHNS
FIR 01/02/2009 R SAMS

 
Look at PIVOT then let us know if you have questions.

djj
The Lord is my shepherd (Psalm 23) - I need someone to lead me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top