try this;
select gid
from `gd`
group by gid
having count(*) > 10
order by lastupdated desc
More Related Contents:
- Complex Count in MySQL
- Can you use an alias in the WHERE clause in mysql?
- Most efficient way to get table row count
- MySql Count cannot show 0 values
- Speeding up row counting in MySQL
- Order by COUNT per value
- Mysql count instances of substring, then order by
- mysql: get record count between two date-time
- COUNT(*) from multiple tables in MySQL
- Why the rows returns by “explain” is not equal to count()?
- How to get the count of each distinct value in a column? [duplicate]
- MYSQL Left Join COUNTS from multiple tables
- Count with IF condition in MySQL query
- How do I add two count(*) results together on two different tables?
- Mysql Counting the consecutive rows that match
- Compare two MySQL databases [closed]
- MySQL – Trigger for updating same table after insert
- Storing image in database directly or as base64 data?
- Is MySQL breaking the standard by allowing selecting columns that are not part of the group by clause?
- Restore table structure from frm and ibd files
- Mysql: Setup the format of DATETIME to ‘DD-MM-YYYY HH:MM:SS’ when creating a table
- UNION query with codeigniter’s active record pattern
- MySQL grant all privileges to database except one table
- mysql stored procedure that calls itself recursively
- MySql views performance [closed]
- When to use NULL in MySQL tables
- How to get number of rows affected, while executing MySQL query from bash?
- MySQL – Cannot insert NULL value in column, but I have a default value specified?
- How to escape apostrophe (a single quote) in MySql?
- Working with INTERVAL and CURDATE in MySQL