Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

how to write this sql as comand

$
0
0

I have to process in an sql as follows. each order is made up of many detail rows. I only need to look at one table, TRA99.

 

Order number   TRAN CODE

 

123              QEE

123              @23

123              ABC

 

I want all the Order #  which have 'QEE' or 'QNE'. These are QUote codes. I want a crystal report that will tell us, which quotes orders' converted to a real order and which did not.

 

then if they have as well @23, this tells me that the order was converted or became an actual order. I am not sure how to do this in 1 sql query i was thinking to create a view for all QEE and QNE codes. then run a second query against that looking for @23.


Viewing all articles
Browse latest Browse all 4814

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>