Concatenation (sets)

from Wikipedia, the free encyclopedia

The concatenation is a combination of sets to form a new set. The linked set consists of all combinations of the elements of both sets using a normally non-commutative operation. The concatenation of the elements is usually used as the operation .

The concatenation is a modification of the product set operation (Cartesian product), neglecting the tuple notation. Concatenation and the Cartesian product therefore differ formally. However, since this is only a notation, the concatenation is z. B. identified in SQL with the Cartesian product.

example

The set consists of the elements , the set consists of the elements . The concatenation of both sets is therefore the set

Compliance with the order, d. H. and not , is essential as long as [say 'Kuller' or 'Kringel', symbol for a link in general] is not commutative.

Character strings as a special case

A frequent special case is the concatenation of character strings . In this case the concatenation of the sets {'Wi', 'ki'} and {'pe', 'dia'} would result in the set {'Wipe', 'Widia', 'kipe', 'kidia'} .

Individual evidence

  1. Gottfried Vossen: Data models, database languages ​​and database management systems. Oldenbourg Verlag, 2008, ISBN 978-3-486-27574-2 , p. 137. limited preview in Google book search
  2. Gottfried Vossen: Data models, database languages ​​and database management systems. Oldenbourg Verlag, 2008, ISBN 978-3-486-27574-2 , p. 138. Restricted preview in the Google book search