I have table called Property and the data is like
pid city state state_abb address1 address2
x1 NewCity NHANy NH xxxx gfg
x2 Gloucester Manchestar MA newAde xxxx
x3 OtherC NewYork NY yyyy
I want a query with search keyword to display order like (state or state_abb), city, address1, adress2
For ex:
If I search keyword with New The result output should
pid city state state_abb address1 address2
x3 OtherC NewYork NY yyyy
x1 NewCity NHANy NH xxxx gfg
x2 Gloucester Manchester MA newAde xxxx
I don't want unmatched rows.I want display only matched rows.
Thanks in advance