Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
P

PhilLeTaxi

@PhilLeTaxi
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Job Application Test from Hell
    P PhilLeTaxi

    Hi, Your request gives this result :

    region contact
    Cape Town Anna
    Cape Town Fred
    CapeTown Joe
    Durban John
    Durban Mary
    Johannesburg Frank

    This is slightly different from the expected result. Bye

    The Lounge database question career

  • Job Application Test from Hell
    P PhilLeTaxi

    Hi Again, Oups, I didn't see the response of James H. which has found the same solution. Sorry for the noise. Bye

    The Lounge database question career

  • Job Application Test from Hell
    P PhilLeTaxi

    Hi, With this request,

    SELECT region, contact FROM `localisation` ORDER BY SUBSTRING(region,2,2) DESC, contact ASC

    I obtain :

    region contact
    Durban John
    Durban Mary
    Johannesburg Frank
    Cape Town Anna
    Cape Town Fred
    CapeTown Joe

    The list is ordered regarding the second letter of the region. To avoid the missing blank in CapeTown, the end of the string is cut. Bye

    The Lounge database question career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups