SELECT COUNT(*), a.id, a.title, c.user, MAX(b.timestamp) FROM logentries a, comments b, authent c WHERE a.id = b.entryid AND a.user_id = c.id GROUP BY 2 ORDER BY 5 DESC LIMIT $index_display_number;
This query kind of turns me on.
SELECT COUNT(*), a.id, a.title, c.user, MAX(b.timestamp) FROM logentries a, comments b, authent c WHERE a.id = b.entryid AND a.user_id = c.id GROUP BY 2 ORDER BY 5 DESC LIMIT $index_display_number;
This query kind of turns me on.
Tags: Code Monkey, geekery, tech
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Being Amber Rhea is somewhat incredulously powered by WordPress
2 Responses to "Your Romantic Queries"
“So, your blog or mine?”
Yours!
oh.