-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQL01Lab.sql
More file actions
45 lines (36 loc) · 835 Bytes
/
SQL01Lab.sql
File metadata and controls
45 lines (36 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
-- Jose Guadarrama
-- 08.28.2014
--1
Create Table Guadarrama.Department
(DeptNo Decimal (2, 0) Not Null Primary Key,
DeptName Character (35) Not Null);
--2
Insert Into Guadarrama.Department
Values(11,
'Security Systems');
--3
Insert Into Guadarrama.Department
Values(22,
'Cameras and Digital Media');
--4
Insert Into Guadarrama.Department
Values(33,
'Cell Phones and PHDs');
--5
Insert Into Guadarrama.Department
Values(44,
'Desktops and Laptops');
--6
Insert Into Guadarrama.Department
Values(55,
'Printers and Copiers');
--7
Insert Into Guadarrama.Department
Values(66,
'Electronic Accessories');
--8
Insert Into Guadarrama.Department
Values(77,
'Customer Service');
--9
Select * From Guadarrama.Department;