i am doing a program in netbeans i am doing a report but i want to put this Example: i want to print in the ireport the product and the order only if the order has >0 i dont know the syntaxis just logical select * from dulceria if existencia>0 but how i can write it show me please thanks =)