Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6336037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:58:21+00:00 2026-05-24T18:58:21+00:00

I have the following query : SELECT x.id,x.title FROM `x` WHERE `x`.status = ‘validated’

  • 0

I have the following query :

SELECT
x.id,x.title
FROM `x`
WHERE  `x`.status = 'validated'
ORDER BY `x`.title ASC

Results :

3042    Cinéastes en herbe Télé-Québec
1681    Danse contemporaine
2725    Dessins, peinture et illustrations. 
2448    Les petits mots de Paolo
641     Ma tente à lire et les Mosaïques dans la rue
3215    Performance & Visites commentées
2186    Se partager l’espace : Yann Pocreau 
2364    Souper communautaire 
1223    100 ans
199     100% couleurs
2794    125 ans de tourisme à Laval
2306    À court de souffle!
1517    Abracadabra Sonia
2477    Atelier ouvert
335     Au bout du fil
2362    Au coeur de notre mémoire
2489    Bientôt 100 ans!
2275    Café historique 
1838    Rencontre avec 

Am i missing something ? Why the title is not ordered correctly ?

For info :

Collation : utf8_general_ci

Character set : utf-8

Solution : a hidden space was in the results –> used the trim function

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:58:22+00:00Added an answer on May 24, 2026 at 6:58 pm

    I would check the first few rows to see if there is a hidden character at the front of the title.

    SELECT
        ASCII(SUBSTRING(x.title, 1, 1))
    FROM
        x
    WHERE
        x.id IN (3042, 1681)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following query: SELECT title, karma, DATE(date_uploaded) as d FROM image ORDER
I have the following query SELECT interview_content.title `title`, gallery_images.img_path img FROM `interview`, `interview_content`, `gallery`,
I have the following query: SELECT * FROM (SELECT products.uid, products.title, products.ean, products.description, products.price,
Basically I have a mysql query something like the following: mysql_query(SELECT n.title, v.value FROM
In sql server 2008, I have the following query: select c.title as categorytitle, s.title
Let's say I have the following SQL query SELECT id, name, title, description, time
I have following SQL query SELECT TOP 10000 AVG(DailyNodeAvailability.Availability) AS AVERAGE_of_Availability FROM Nodes INNER
I have the following query SELECT e.topicShortName, d.catalogFileID, e.topicID FROM catalog_topics a LEFT JOIN
I have the following query: SELECT COUNT(*) FROM FirstTable ft INNER JOIN SecondTable st
I have the following query: SELECT o.id,o.name FROM object o WHERE ( o.description LIKE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.