List of relations
| Schema |
Name |
Type |
Owner |
| public |
apply |
table |
postgres |
| public |
college |
table |
postgres |
| public |
student |
table |
postgres |
(3 rows)
Table "public.student"
| Column |
Type |
Collation |
Nullable |
Default |
| sid |
integer |
|
|
|
| sname |
text |
|
|
|
| gpa |
double precision |
|
|
|
| sizehs |
integer |
|
|
|
Table "public.apply"
| Column |
Type |
Collation |
Nullable |
Default |
| sid |
integer |
|
|
|
| cname |
text |
|
|
|
| major |
text |
|
|
|
| decision |
boolean |
|
|
|
Table "public.college"
| Column |
Type |
Collation |
Nullable |
Default |
| cname |
text |
|
|
|
| state |
character(2) |
|
|
|
| enrollment |
integer |
|
|
|
| sid |
sname |
gpa |
sizehs |
| 123 |
Amy |
3.9 |
1000 |
| 234 |
Bob |
3.6 |
1500 |
| 320 |
Lori |
|
2500 |
| 345 |
Craig |
3.5 |
500 |
| 432 |
Kevin |
|
1500 |
| 456 |
Doris |
3.9 |
1000 |
| 543 |
Craig |
3.4 |
2000 |
| 567 |
Edward |
2.9 |
2000 |
| 654 |
Amy |
3.9 |
1000 |
| 678 |
Fay |
3.8 |
200 |
| 765 |
Jay |
2.9 |
1500 |
| 789 |
Gary |
3.4 |
800 |
| 876 |
Irene |
3.9 |
400 |
| 987 |
Helen |
3.7 |
800 |
(14 rows)
| sid |
cname |
major |
decision |
| 123 |
Berkeley |
CS |
t |
| 123 |
Cornell |
EE |
t |
| 123 |
Stanford |
CS |
t |
| 123 |
Stanford |
EE |
f |
| 234 |
Berkeley |
biology |
f |
| 321 |
MIT |
history |
f |
| 321 |
MIT |
psychology |
t |
| 345 |
Cornell |
bioengineering |
f |
| 345 |
Cornell |
CS |
t |
| 345 |
Cornell |
EE |
f |
| 345 |
MIT |
bioengineering |
t |
| 543 |
MIT |
CS |
f |
| 678 |
Stanford |
history |
t |
| 765 |
Cornell |
history |
f |
| 765 |
Cornell |
psychology |
t |
| 765 |
Stanford |
history |
t |
| 876 |
MIT |
biology |
t |
| 876 |
MIT |
marine biology |
f |
| 876 |
Stanford |
CS |
f |
| 987 |
Berkeley |
CS |
t |
| 987 |
Stanford |
CS |
t |
(21 rows)
| cname |
state |
enrollment |
| Berkeley |
CA |
36000 |
| Cornell |
NY |
21000 |
| Irene |
TX |
25000 |
| MIT |
MA |
10000 |
| Stanford |
CA |
15000 |
(5 rows)