Announcement

Collapse
No announcement yet.

Help needed for MYSQL Query

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help needed for MYSQL Query

    Code:
    $query = "SELECT DISTINCT registration, series, operator, msn, ln, model, status, pic, piccopy FROM (SELECT * FROM (SELECT * FROM history where status = 'active' ORDER BY date asc) AS a GROUP BY ln) a2 GROUP BY msn ORDER BY ln asc";
Working...
X