An Entity of Type: language, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

A GROUP BY statement in SQL specifies that a SQL <a href="/wiki/Select_(SQL)" title="Select (SQL)">SELECT</a> statement partitions result rows into groups, based on their values in one or several columns. Typically, grouping is used to apply some sort of aggregate function for each group.

Property Value
dbo:abstract
  • GROUP BY je syntaktická konstrukce jazyka SQL pro agregaci záznamů vybíraných pomocí příkazu SELECT. Příklad použití Máme tabulku článků a u každého z nich je mj. uložen i rok, kdy byl napsán. Chceme získat přehled toho, kolik článků bylo napsáno který rok. SELECT rok,Count(*) FROM clanky GROUP BY rok; Výstupem by mohlo být např.: +------+----------+| rok | Count(*) |+------+----------+| 2006 | 7 || 2007 | 15 || 2008 | 22 |+------+----------+ (cs)
  • A GROUP BY statement in SQL specifies that a SQL <a href="/wiki/Select_(SQL)" title="Select (SQL)">SELECT</a> statement partitions result rows into groups, based on their values in one or several columns. Typically, grouping is used to apply some sort of aggregate function for each group. The result of a query using a GROUP BY statement contains one row for each group. This implies constraints on the columns that can appear in the associated <a href="/wiki/Select_(SQL)" title="Select (SQL)">SELECT</a> clause. As a general rule, the <a href="/wiki/Select_(SQL)" title="Select (SQL)">SELECT</a> clause may only contain columns with a unique value per group. This includes columns that appear in the GROUP BY clause as well as aggregates resulting in one value per group. (en)
  • GROUP BY — синтаксична конструкція мови SQL для агрегації записів, вибраних за допомогою запиту SELECT. (uk)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 7079926 (xsd:integer)
dbo:wikiPageLength
  • 2600 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1056050646 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
rdf:type
rdfs:comment
  • GROUP BY je syntaktická konstrukce jazyka SQL pro agregaci záznamů vybíraných pomocí příkazu SELECT. Příklad použití Máme tabulku článků a u každého z nich je mj. uložen i rok, kdy byl napsán. Chceme získat přehled toho, kolik článků bylo napsáno který rok. SELECT rok,Count(*) FROM clanky GROUP BY rok; Výstupem by mohlo být např.: +------+----------+| rok | Count(*) |+------+----------+| 2006 | 7 || 2007 | 15 || 2008 | 22 |+------+----------+ (cs)
  • GROUP BY — синтаксична конструкція мови SQL для агрегації записів, вибраних за допомогою запиту SELECT. (uk)
  • A GROUP BY statement in SQL specifies that a SQL <a href="/wiki/Select_(SQL)" title="Select (SQL)">SELECT</a> statement partitions result rows into groups, based on their values in one or several columns. Typically, grouping is used to apply some sort of aggregate function for each group. (en)
rdfs:label
  • GROUP BY (cs)
  • Group by (SQL) (en)
  • GROUP BY (SQL) (it)
  • GROUP BY (SQL) (ru)
  • Group by (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License