Josh Josh - 2 years ago 85
PHP Question

I need to translate a sql-query releated sentence but don't know what it means

I need to translate this sentece:


Consider loosening your query with OR. bike OR shed will often show more results than bike shed.


What the hell is ment by bike and shed. Are theese some symbols on the keyboard?

Thak you!

Answer Source

What is meant by this is that searching for the string "bike shed" will yield less results than searching for entries that contains either "bike" OR "shed".

Suppose you have three rows:

1: I like my bike
2: Buy my shed
3: Where is the bike shed

Searching for "bike" yields rows 1 and 3.

Searching for "shed" yields rows 2 and 3.

Searching for "bike shed" yields row 3.

Searching for "bike" OR "shed" yields rows 1, 2 and 3.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download