Ich habe ein ganz großes Problem. Es soll eine SQL Anweisung geschrieben werden, wo man sieht welche und wieviele Komponenten in einem Raum sind. D.h. es soll in einer Tabelle angezeigt werden wieviel Netzwerkadapter, Festplatten,Mainboards, Monitore, Drucker usw. in dem Raum 311 sind.
Die Werte in den Tabellen Monitor und Zubehör sind als Beispiel zu nehmen.
Ich habe versucht da irgendetwas mit create Table aber das funktioniert nicht, wahrscheinlich weil die SQL Abfrage in Delphi ist.
Tabelle DB_Monitor:
ID;Bezeichnung;Eigenschaft
101;Colormonitor TARGA Visionary V1770;17’’
102;Colormonitor TARGA Visionary V1770;17’’
103;Colormonitor TARGA Visionary V1770;17’’
104;Colormonitor TARGA Visionary V1770;17’’
105;Colormonitor TARGA Visionary V1770;17’’
Tabelle DB_Rechner:
ID;Komponente;Eigenschaft
1; ATX Mainboard Pentium IV; MSI MS 6528 inkl. CPU Intel Pentium IV 1,6GHz
1;SD-RAM Modul; 256 MB, 8ns
1;Festplatte; 40GB, IDE
1;Festplatte; 40GB, IDE
1;DVD-ROM; LG 8160B, 16x/48x
1;CD-R/W Writer; NEC NR-7800, ATAPI 12x10x32, 4MB
1;AGP Grafikkarte; ATI Xpert, 2000Pro, 32MB
1;Videoschnitt Pinnacle Studio; DV Plus Videoschnittsystem
1;Netzwerkadapter; 3Com 3C905C-TX FastEthernet
2;ATX Mainboard Pentium IV; MSI MS 6528 inkl. CPU Intel Pentium IV 1,6GHz
2;SD-RAM Modul; 256 MB, 8ns
2;Festplatte; 40GB, IDE
2;Festplatte; 40GB, IDE
2;DVD-ROM; LG 8160B, 16x/48x
2;CD-R/W Writer; NEC NR-7800, ATAPI 12x10x32, 4MB
2;AGP Grafikkarte; ATI Xpert, 2000Pro, 32MB
2;Videoschnitt Pinnacle Studio; DV Plus Videoschnittsystem
2;Netzwerkadapter; 3Com 3C905C-TX FastEthernet
Tabelle DB_Zubehoer:
ID;Bezeichnung; Eigenschaft
500;EPSON Perfection 1250 Photo Flachbett-Scanner; 1200x2400dpi
510;Epson Stylus Photo 1290 A3+ Tintenstrahldrucker; 2880(H)x720(V)dpi Farbe
520;HP LaserJet 2200D Laserdrucker; 1200dpi Farbtiefe
Tabelle DB_Verwaltung:
ID; Seriennummer; Inventarnummer; Raum; Anschaffungsdatum
1;202463;3529/16;311;07.02.2002
2;202457;3529/17;311;07.02.2002
3;202453;3529/18;311;07.02.2002
4;202462;3529/19;311;07.02.2002
5;202458;3529/20;311;07.02.2002
6;202454;3529/21;311;07.02.2002
7;202461;3529/22;311;07.02.2002
8;202459;3529/23;311;07.02.2002
9;202460;3529/24;311;07.02.2002
10;202452;3529/25;311;07.02.2002
11;202455;3529/26;311;07.02.2002
12;202456;3529/27;311;07.02.2002
13;202451;3529/28;311;07.02.2002
14;202464;3529/44;311;07.02.2002
15;202450;3529/45;311;07.02.2002
16;202449;3529/46;311;07.02.2002
17;202448;3529/47;311;07.02.2002
18;202447;3529/48;311;07.02.2002
101;ACT0111FA06078;3529/39;311;07.02.2002
102;ACT0111FA06083;3529/39;311;07.02.2002
103;ACT0111FA06090;3529/39;311;07.02.2002
104;ACT0111FA06071;3529/39;311;07.02.2002
105;ACT0111FA06079;3529/39;311;07.02.2002
106;ACT0111FA06080;3529/39;311;07.02.2002
107;ACT0111FA06057;3529/39;311;07.02.2002
108;ACT0111FA06086;3529/39;311;07.02.2002
109;ACT0111FA061;3529/39;311;07.02.2002
110;ACT0111FA068;3529/39;311;07.02.2002
111;ACT0111FA064;3529/39;311;07.02.2002
112;ACT0111FA074;3529/39;311;07.02.2002
113;ACT0111FA089;3529/39;311;07.02.2002
114;ACT0110CA03828;3529/39;311;07.02.2002
116;ACT0110CA8149;3529/39;311;07.02.2002
117;ACT0110CA7786;3529/39;311;07.02.2002
118;ACT0110CA8146;3529/39;311;07.02.2002
119;ACT0110CA3848;3529/39;311;07.02.2002
500;DRPW175191;3529/73;311;07.02.2002
510;C29K086916;3529/74;311;07.02.2002
520;FRFRM18794;3529/75;311;07.02.2002
Wäre nett wenn mir jemand helfen könnte. Es eilt .
Danke schon mal im Vorraus.