PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] PHPmyAdmin automatically adding ORDER BY to browse

 January 31, 2022     phpmyadmin     No comments   

Issue

A short time ago phpMyAdmin started adding an ORDER BY clause to a particular table whenever I browse it or even apply an SQL query. I can't figure out how to undo this.

If I type the following in the SQL editor:
SELECT * FROM sales WHERE product = 'SERVICE'

The query phpMyAdmin actually runs is. . .
SELECT * FROM sales WHERE product = 'SERVICE' ORDER BY adjust DESC

The column adjust doesn't even have an index


Solution

If you hover over the column heading, you can see a menu displayed which lists several sorting options. It sounds like you may have inadvertently clicked or shift-clicked on a column header, so the solution is to ctrl-click or alt-click (or shift-option-click if you're on a Mac) to remove the ORDER BY clause.

Mouseover menu



Answered By - Isaac Bennetch
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing