I need help with a search query for a android app, I'm using sqlite. Before it easy to search for a street name because i had only one column to search from, I did this to fix the sort by query check here.
i have a database with the following rows and columns:
id street_name street_number sub_number 1 PIERPONTWEG 25 2 PIERPONTWEG 45 B 3 PIERPONTWEG 77 4 SARKIWEG 45 A 5 SARKIWEG 13 6 SARKIWEG 5 7 ALIBAKSWEG 5 8 SHANTIWEG 44 A 9 SHANTIWEG 44 B 10 SHANTIWEG 44 C
I have a only one search box where i search for a street name for example 'SHANTIWEG 44' and want the following results:'SHANTIWEG 44 A','SHANTIWEG 44 B','SHANTIWEG 44 C'.