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

  • Home
  • SEARCH
  • 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 9031527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:45:14+00:00 2026-06-16T07:45:14+00:00

I did my homework but couldn’t find any answer on the question below… I’d

  • 0

I did my homework but couldn’t find any answer on the question below…

I’d like to create an “alphabetic index” made of the results of two (or more) tables of my MySQL-database.

TABLE 1 is “search_words”, with fields to use: id – search_word

TABLE 2 is “categories”, with fields to use: id – category_name

So what I need is an alphabetically sorted list with the results of these two tables, the mixed output of the fields “search_word” AND “category_name”, but sorted alphabetically. As they have no relationship, these tables are not joinable, I guess.

Is there a possibility or is the answer simply “No, there isn’t!”?

Thanks in advance for any reply, help or redirect to previously posted topics cocerning this issue.

  • 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-06-16T07:45:15+00:00Added an answer on June 16, 2026 at 7:45 am
    SELECT id,search_word AS word FROM search_words
    UNION
    SELECT id,category_name AS word FROM categories
    ORDER BY word
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did some homework and while I can answer all below questions about exporting
hey everyone the question is like this, this is homework question to be honest
I did my homework before, so i'm aware of other questions like pack /
Yeah, I did my homework and I found the setFrame:frame display:YES animate:YES but I
I went through all the questions on SOF and did my homework but still
I am in my first days of Mercurial, I did my google homework, but
I did quite a bit of homework before posting here but still could not
This is a long, involved question about index optimization theory. This is not homework,
This is not a homework, but new task assign by superior. To create a
I'm not really a fan of C, but I did homework for this exercise

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.