Jump to content

GROUP BY ORDER


jaymc

Recommended Posts

Hmm yes, although trying your example with new fields,database It does not work

 

Heres what I have got so far

 

	SELECT t.id, t.subject, t.department, tm.responder, tm.date
	FROM fred.client_tickets t 
	INNER JOIN
	(
		SELECT date, responder
		FROM fred.client_ticket_messages
		GROUP BY ticketID
	)
	AS tm USING ( date, responder )

 

Error: Unknown column 'date' in from clause

Link to comment
https://forums.phpfreaks.com/topic/165375-group-by-order/#findComment-872893
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.