query

  • Thread starter Thread starter Frank Dulk
  • Start date Start date
F

Frank Dulk

I have a query with the following fields:

Patient Quant Remédio
João 1 Analgesic
João 3 Antibiotic
João 1 Vitamin
Maria 1 Analgesic
Maria 1 Vitamin
etc...

I need the following result
João 5 Analgesic, Antibiotic, Vitamin
Maria 2 Analgesic, Vitamin

Somebody can me to help (SQL if possible)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top