I need to get the data according this filter:
The result need to be all content that contain 1 on column2 and column22 from table2. In this case
Table1 = column2 = 1 Table2 = column22 = 1
Table1 = column1, column2, column3
1 1 2
2 1 2
3 1 3
4 3 3
Table2 = column11, column22, column33
1 1 0
2 0 0
3 0 0
4 0 0
SELECT * FROM 'Table1' WHERE 'colum2' = 1 AND SELECT * FROM 'Table2' WHERE 'column22'= 1;
Any help is appreciated.