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 6912799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:08:13+00:00 2026-05-27T09:08:13+00:00

I tried the simple join join query.txt source.tab Based on 1st colum in both

  • 0

I tried the simple join

join query.txt source.tab

Based on 1st colum in both files. It’s clear that source.tab
contain the query. But why the operation yields no result?

Both of the query and source file is downloadable here:

http://dl.dropbox.com/u/11482318/query.txt  (2B)

http://dl.dropbox.com/u/11482318/source.tab (40KB)
  • 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-27T09:08:13+00:00Added an answer on May 27, 2026 at 9:08 am

    Tha man page for join says that (as suggested by shelter):

    Important: FILE1 and FILE2 must be sorted on the join fields.

    In your case the source.tab file is sorted naturally on the first field (r1.1, r2.1, etc.) But the sort order required by join would be based on the collating sequence of sort (probably r1.1, r10.1, r100.1, r11.1, r12.1, etc.)

    If you sort your source.tab file using the sort command, then join, it should work.

    (Note that – perhaps by luck – the query.txt file has the correct sort order.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I tried to do a simple modification of the hello android program that
I created a simple test with SendKeys, and tried both SendWait and Send. Private
Im stumped by this simple query because its one I have not tried before.
I'm trying to write a simple query in sqlite with a self join. I
I am currently learning F# and have tried (an extremely) simple example of FizzBuzz.
I am using Visual Studio 2008 Express and I tried creating a simple console
I tried to make a simple contact form via HTML and PHP but the
I tried to write a Neural Network system, but even running through simple AND/OR/NOR
This should be really simple, but I have tried many solutions posted on the
I have created a small and simple android app. I tried installing it on

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.