New answers tagged

1 vote

Full text search for multiple words using Laravel and MySQL

The way I was originally doing it was just using column like %$request->keyword% but if I typed in "cam handle" it wasn't returning results matching "camhandle". So I had to ...
  • 21.4k
1 vote
Accepted

15 Days of Learning SQL (HackerRank Challenge) - is having multiple queries a good idea in this case?

No; this doesn't look like a good way to use SQL. Use of WHILE loops, temp tables, etc are sometimes helpful for performance reasons, but they're very rarely needed ...
1 vote

Full text search for multiple words using Laravel and MySQL

Variable naming could be better The variable name $s is not very descriptive of what it contains. Renaming it to something like ...

Top 50 recent answers are included