Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27412

Oracle query

$
0
0
I have a table that keep information by date. So sometime I will need certain by date on a daily base. So how can I do a query that lookup by previous date? My query is below

SELECT (PROATE)as Date,(SET) as Part,(COUNT (1)) as Qty

FROM JIMP WHERE CTYPE = 'DP' AND STYPE ='SN' AND DATE = Previous Day Date <===This the Part I need help with
GROUP BY (PRODATE), (SET)

Viewing all articles
Browse latest Browse all 27412

Latest Images

Trending Articles



Latest Images

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