I have very little SQL experience and have a problem with a query that seems relatively easy. It's returning a null set and SQL Explain says it's an impossible where. Here's the query:
Help with simple MySQL Query
6
I have very little SQL experience and have a problem with a query that seems relatively easy. It's returning a null set and SQL Explain says it's an impossible where.
Here's the query:
SELECT 'password' FROM `album` WHERE `uid`=124 AND instr('title', '21.01')
Here's the DB structure:
Here's the actual record with the matching uid and title:
Here's the query:
SELECT 'password' FROM `album` WHERE `uid`=124 AND instr('title', '21.01')
Here's the DB structure:
Here's the actual record with the matching uid and title:
- Dan Grossman
- [ 1 ] Thanks
- [2] replies
- Bruce Wedding
- FirstSocialApps
- KirkMcD
- [1] reply
- Dan Grossman
- [ 1 ] Thanks
Next Topics on Trending Feed
-
6