Browsing articles tagged with " ORDER BY"

mysql group by uid which uid match another query

Mar 12, 2012   //   by phpfreelancer.biz   //   Blog, MySQL Tutorial  //  No Comments

I want get 10 rand result, which image !=”, group by uid and these uid are the same from select uid from user_table where type=’1′. but my query only return 2 result. where is the problem?
Read more >>

Returning query results in predefined order

Mar 12, 2012   //   by phpfreelancer.biz   //   Blog, MySQL Tutorial  //  No Comments

Is it possible to do a SELECT statement with a predetermined order?

Read more >>

Share This Page

RSS Wordpress News