Jump to content

Explaining a query


thiggins09

Recommended Posts

Is there a way to extract a queries table, limit , and order by information?

 

For example:

SELECT * FROM `table` ORDER BY `a` LIMIT 1,2

 

Can I somehow ask MySQL what the limit was, if there was one, and how this SELECT is being ordered. I am aware EXPLAIN can return the table, but as for obtaining the other information I am lost.

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/172202-explaining-a-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.