Hey. I have a column in a table and I want to select the most common item from the selected column. The table is configured. Publish:
I want to be able to choose the most repetitive places to publish publications. Is it possible to do this?Thanks in advanceDean
select published, count(*) nbr from table1 group by published order by nbr desc limit 1
, , , . , , , , , . limit 1, .
limit 1
Source: https://habr.com/ru/post/1751387/More articles:The difference between std :: tr1 :: array and boost :: array - c ++Is the HTTPS client-server security method "fairly secure"? - securityReading and Writing Calendar - androidHashtable sorting using (possibly not unique) values - hashtableLua C api: How to load lua files defined as modules? - cTesting if an object has been freed - objective-cGetting the identity of the row I just inserted - sqlWhy is my MySQL query so slow? - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1751391/managing-calls-to-objects-that-get-deallocated-when-the-view-is-backed-out-of&usg=ALkJrhhfcUFlqHLApvzmJ2lQ83IRocrPegHow to serialize interface elements with protobuf.NET? - c #All Articles