arnelgp
..forever waiting... waiting for jellybean!
- Local time
- Tomorrow, 07:18
- Joined
- May 7, 2009
- Messages
- 20,099
the solution is not for you so why bother.PS, back in post #4 you indicated that @arnelgp 's solution didn't work. In #14 you posted a solution with LIKE which isn't what arnel used in his sample db although he never told us what he actually did. I never looked at it earlier because I can't be bothered with "try this" solutions.
and we are all grown up people here, so there is no need to full elaboration and explanation of what the db is supposed to do.
the OP knows what he/she wants and she finds it on that section of the db.
yes, all the samples are "single" words.Sample database posted shows Transaction_Type field has a single word value and only 4 values. My suggestions using IN() or <>"Watch" allow a shorter and simpler SQL.
and my proposal was:
In ("Bought","Purchased","Selling")