I am pulling information from a table with multiple lines that all corrorpond to one ticket. If anywhere on the ticket I see a charge for MIlk I want to see all lines associated with that ticket#. I tried to write a subquery but that has not worked for me. Any ideas??
Example:
Item Cost
- Yams 1.0
- Beans 2.0
- Milk 5.0
- Yams 1.0
- Beans 2.0
- Candy 1.0
- Beans 2.0
- Yams 1.0
- Beans 2.0
- Milk 5.0
- Beans 2.0
- Milk 5.0