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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:32:24+00:00 2026-06-09T00:32:24+00:00

So whenever I EXPLAIN my query, I often get instances in which it states

  • 0

So whenever I EXPLAIN my query, I often get instances in which it states certain fields as possible keys but then the key table will be null…

Why would MySQL do this and decide to use no keys when in fact it can use a possible key?

  • 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-09T00:32:25+00:00Added an answer on June 9, 2026 at 12:32 am

    It can’t always use a key, for instance:

    SELECT * FROM A, B where A.id = B.id;
    

    Although id is a possible key for both lookups, it can’t be used for both. One of the tables must do a full scan.

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

Sidebar

Related Questions

Its a bit difficult to explain, but i will try. Whenever someone clicks on
Whenever I try installing anything using gem, I get this error - murtaza@murtaza-dev:~$ sudo
Whenever you write a query where you need to filter out rows on a
Whenever I start my emulator from Eclipse it loads, but I CANNOT open the
Can someone explain how to create a .php page which auto-updates with values from
I'm making a small website and I'm very new to CSS but whenever I
I have a Question: Should I use databinding whenever I can? I will explain
Alright so let me explain what I'm doing and then I have a couple
I am developing an iPhone application which is navigation based. Whenever the application quits,
I am using this basic mySQL query which works great: $sql = SELECT *

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.