Question : Group BY : Selecting unique rows

Why does the following query result in ALL rows meeting the WHERE criteria when used with myqsl_query and only 1 row when used in phpmyadmin query for example? It is my understanding that GROUP BY xxx, yyy, zzz is intended to return only 1 row if there are duplicate rows with same xxx, yyy, zzz

I have not tried the result via another db access method.
1:
SELECT * FROM Check_in WHERE runTime BETWEEN TIMESTAMPADD ( MINUTE, -1, NOW() ) AND TIMESTAMPADD ( MINUTE, +5, NOW() ) AND accomp = 'NO' GROUP BY empNum, fltNum, depCity, runTime ORDER BY runTime, Num

Answer : Group BY : Selecting unique rows

Are you running selinux?

Try this..

enter this command:

setenforce 0

then try to start named

/etc/init.d/named start

Random Solutions  
 
programming4us programming4us