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 gkittelson 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: *

  1. happykiran

    Tricky SQL statement

    Thanks, That worked. Also I tried the same without inner query, just by refering to routeprefix table as two tables with different aliases. Even that worked, the query I used is .. select r1.route as cfrom, r2.route as cto from activity_log a, routeprefix r1, routeprefix r2 where...
  2. happykiran

    Tricky SQL statement

    Hi, I got these two tables in the database. Now I want the output from activity_log. The cfrom and cto refer to routeid in 'routeprefix' table. If I want to view the names of the routes instead of their IDs in the activity table, how should I frame my SQL statement ? mysql> select * from...
  3. happykiran

    best match query

    Hi, I want to know how to exctract the rows that best match the given string. Eg: My String is 'harrypotter', and in the table, I have got the following values select names from students; Names ------------ harry harrypot someoneelse harest harryp Among them, I would like to extract...

Part and Inventory Search

Back
Top