err.. i mean this
No, the search wouldn't always be on OrderID.. For example, I'd like to search for all orders related to "tim" and return this:
123, TIM, PRODUCTA
125, TIM, PRODUCTA
125, TIM, PRODUCTC
Is it an issue? Well I'd like an SQL version.. I've done a work around in the code that calls the SQL (I just fetch the first X unique order ID rows returned)..
Yes, I'd like ranges..
No, the search wouldn't always be on OrderID.. For example, I'd like to search for all orders related to...
I've got a problem and my limited SQL knowledge it now being tested, and I'm passing this on to you smart folks.. (Oracle DB)..
I have a table with data similar to this where the columns are ORDERID, SALESPERSON, PRODUCTID
123, TIM, PRODUCTA
123, TOM, PRODUCTA
123, MARY, PRODUCTB...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.