Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: blondrob
  • Content: Threads
  • Order by date
  1. blondrob

    sql ordering query- does this make sense?

    Didn't get a response to my last thread so i thought i'd try a simplified version. Basically what i'm trying to do is order some results based on whether they match some criteria. The query is of the form SELECT distinct *, (apple='delicious' AND pear='rotten') as Relevance FROM tblfruit...
  2. blondrob

    order by relevance/relational tables query

    Hi, I'm trying to sort results using sets of conditions returning either 1 or 0. The following sql is looking at two relational tables where tbljobs.id is related to tbljob_location.job_id SELECT distinct tbljobs.*, (tbljobs.phase='Pre School' and tbljobs.id=tbljob_location.job_id AND...

Part and Inventory Search

Back
Top