How to get out of a group on Flickr?

How Can I Group text types in SQL?

  • I want to find the average of a Category type, In other words I have an attribute called "Unidades en Existencia" and the category names that are called "Nombre de Categoria". So what I want to do is get the average of "Unidades en existencia" and Group it by the category so the average of "Bebidas", "Condimentos", etc, only show once and have the calculated field "Average", Hope someone helps me out Heres a little image of the query: http://www.flickr.com/photos/63259070@N06/6898501043/

  • Answer:

    select Nombre de Categoria, avg(tUnidades en Existencia) from table group by Nombre de Categoria put the correct syntax according to the DBMS Hope it is the right answer

Steven at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.