boolean algebra in SQL -


i need convert following c statement sql query.

if((object->num1 == 10 && object->num2 == 11) || (object->num3 == 0 && object->num4 == 1)){ //something } 

i want

select * `table` (conditions here) 

thank in advance.

you can use following query:

 select *  your_table  (num1=10 , num2=11) or (num3=0 , num4=1); 

Comments