Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/13/d120640365/htdocs/app374224946/libraries/cms/application/cms.php on line 460

Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d120640365/htdocs/app374224946/libraries/cms/application/cms.php:460) in /homepages/13/d120640365/htdocs/app374224946/plugins/system/eprivacy/helper.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d120640365/htdocs/app374224946/libraries/cms/application/cms.php:460) in /homepages/13/d120640365/htdocs/app374224946/plugins/system/eprivacy/helper.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /homepages/13/d120640365/htdocs/app374224946/libraries/cms/application/cms.php:460) in /homepages/13/d120640365/htdocs/app374224946/plugins/system/eprivacy/helper.php on line 86
SQL-Skript für Kapitel 10, 11 und 12
Nachricht
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

    View GDPR Documents

    You have declined cookies. This decision can be reversed.

SQL-Skript für Kapitel 10, 11 und 12

create table alben(
  reihe varchar(30),
  titel varchar(30),
  band int check(band>=0),
  preis decimal(4,2) check(preis>=0),
  jahr int,
  primary key(reihe, band)
);

insert into alben values( 'Gespenster Geschichten',    'Gespenster Geschichten',    1    ,1.20    ,1974 );
insert into alben values( 'Asterix',    'Asterix der Gallier',    1        ,2.80    ,1968 );
insert into alben values( 'Asterix',    'Asterix und Kleopatra',    2    ,2.80    ,1968 );
insert into alben values( 'Asterix',    'Asterix als Legionär',    10        ,3.00    ,null );
insert into alben values( 'Asterix',    'Die Trabantenstadt',    17,        3.80,    1974 );
insert into alben values( 'Asterix',    'Der große Graben',    25,        5.00,    1980 );
insert into alben values( 'Tim und Struppi',     'Der geheimnisvolle Stern',    1,        null,    1972 );
insert into alben values( 'Tim und Struppi',    'Tim und der Haifischsee',    23    ,null,    1973 );
insert into alben values( 'Franka', 'Das Kriminalmuseum',    1,8.80,1985 );
insert into alben values( 'Franka', 'Das Meisterwerk',    2,        8.80,1986 );