View Single Post
  #2 (permalink)  
Old 07-22-2007, 02:21 PM
Dimitar
 
Posts: n/a
Default ANY answer. Re: Extracting(Display) the data from tables in Certain Conditions(Please help me)

[sql]
select order_id, sum(total) from item where order_id >600 group by order_id having sum(total) > 25;
[/sql]

Hope this helps.

Dimitar
Reply With Quote