Diffrent veritabanı satırları seçin

0 Cevap php

The title might not be the best fit for this post, I'm sorry about that! I've got a problem when selecting result from the database. I got 3 rows in a table called "test1", "test2" and "test3" with the values true or false. How do i select all results with the value of 1? i dont want to combine them like:

WHERE test1 = 1 AND test2 = 1 AND test3 = 1.

Ben 1 değerine sahip tüm sonuçlar almak istiyoruz.

0 Cevap