hope you want query like this!

sundar k replied to Epifanio Pineda Guadarrama at 03-Jul-08 01:16
select
sum(sales), i.item
sales s,
detailsales d,
items i
where
s.sale = d.sale
and d.item = i.item
and d.date  = <<your date>>
and i.line = <<your specific line>>
group by i.item

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Three tables query - Epifanio Pineda Guadarrama  03-Jul-08 12:25 12:25:18 PM
      hi see this - bretto kumar A  03-Jul-08 01:07 1:07:56 PM
      hope you want query like this! - sundar k  03-Jul-08 01:16 1:16:20 PM
      USE IT - Arvind Kumar  03-Jul-08 11:40 11:40:32 PM
View Posts