-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject_showall.sql
More file actions
77 lines (52 loc) · 1.91 KB
/
project_showall.sql
File metadata and controls
77 lines (52 loc) · 1.91 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
-- connection to the project database
\c project
\echo Table 1: Output from the ADDON table
SELECT * FROM Addon;
\echo Table 2: Output from the AMENITY table
SELECT * FROM Amenity;
\echo Table 3: Output from the BANKACCOUNT table
SELECT * FROM BankAccount;
\echo Table 4: Output from the BOOKABLE table
SELECT * FROM Bookable;
\echo Table 5: Output from the BOOKABLETYPE table
SELECT * FROM BookableType;
\echo Table 6: Output from the CREDITCARD table
SELECT * FROM CreditCard;
\echo Table 7: Output from the EXPERIENCE table
SELECT * FROM Experience;
\echo Table 8: Output from the EXPERIENCECATEGORY table
SELECT * FROM ExperienceCategory;
\echo Table 9: Output from the EXPERIENCEDATEPRICE table
SELECT * FROM ExperienceDatePrice;
\echo Table 10: Output from the GUEST table
SELECT * FROM Guest;
\echo Table 11: Output from the GUESTREVIEW table
SELECT * FROM GuestReview;
\echo Table 12: Output from the HOST table
SELECT * FROM Host;
\echo Table 13: Output from the HOSTREVIEW table
SELECT * FROM HostReview;
\echo Table 14: Output from the MESSAGE table
SELECT * FROM Message;
\echo Table 15: Output from the PAYMENT table
SELECT * FROM Payment;
\echo Table 16: Output from the PAYMENTOPTION table
SELECT * FROM PaymentOption;
\echo Table 17: Output from the PAYMENTOPTIONTYPE table
SELECT * FROM PaymentOptionType;
\echo Table 18: Output from the PAYOUT table
SELECT * FROM Payout;
\echo Table 19: Output from the RESERVATION table
SELECT * FROM Reservation;
\echo Table 20: Output from the RESERVATION_ADDONS table
SELECT * FROM Reservation_Addons;
\echo Table 21: Output from the STAY table
SELECT * FROM Stay;
\echo Table 22: Output from the STAYCATEGORY table
SELECT * FROM StayCategory;
\echo Table 23: Output from the STAYDATEPRICE table
SELECT * FROM StayDatePrice;
\echo Table 24: Output from the STAYHASAMENITY table
SELECT * FROM StayHasAmenity;
\echo Table 25: Output from the USER table
SELECT * FROM "User";