hotel 

The hotel table contains a list of hotels with the following information:

HNO

NAME

ZIP

CITY

ADDRESS

10

Congress

89477

Detroit

155 Beechwood Str.

20

Los Angeles

86159

Cincinnati

1499 Grove Street

30

Regency

48153

Portland

477 17th Avenue

40

Eight Avenue

21109

Los Angeles

112 8th Avenue

50

Lake Michigan

20097

Los Angeles

354 OAK Terrace 43

60

Airport

60313

New Orleans

650 C Parkway

70

Empire State

80805

New York

65 Yellowstone Dr.

80

Midtown

20251

Los Angeles

12 Barnard Street

90

Long Beach

45193

Long Beach

200 Yellowstone Dr.

100

Dallas

50668

Dallas

1980 34th Str.

110

Atlantic

81245

New York

111 78th Street

120

Sunshine

12249

Los Angeles

35 Broadway 77

130

Star

40223

Hollywood

13 Beechwood Place 2

140

River Boat

70469

New York

788 MAIN STREET 14

150

Indian Horse

69117

Santa Clara

16 MAIN STREET

 

SQL statement for creating the table structure

CREATE TABLE hotel
(hno     FIXED(4) KEY CONSTRAINT hno BETWEEN 1 AND 9999,
 name    CHAR(10) NOT NULL,
 zip     CHAR(5) CONSTRAINT zip like '(0-9)(0-9)(0-9)(0-9)(0-9)',
 city     CHAR(12) NOT NULL,
 address CHAR(25) NOT NULL)