I have two tables as table1 and table2 and it contains Field1, Field2, Field3 in both tables. I need to combine and display the count of Field3 with distinct field2 value from both the tables.
ex:
Field1 Field2 Field3
1 | India | VERIFIED
2 | US | VERIFIED
3 | India | VERIFIED
I need the output like count of Field2 with the Field2 Value where Field3 = verified
India (2) US (1)
I dont have any idea about join statement and i am beginner in SQL PHP. Any help appreciated.