Consider the following database with the below relations: customer-street 12 Alma St. 4 North St. 3 Main St. 123 Putnam Ave. 100 Main St. 175 Park Ave. 72 North St. (a) The customer table customer-id customer-name 192-83-7465 Johnson 019-28-3746 Smith 677-89-9011 Hayes 182-73-6091 Turner 321-12-3123 Jones 336-66-9999 Lindsay 019-28-3746 Smith account-number balance A-101 500 A-215 700 A-102 400 A-305 350 A-201 900 A-217 750 A-222 700 (b) The account table ● 34 customer-city Palo Alto Rye Harrison Stamford customer-id 192-83-7465 192-83-7465 019-28-3746 677-89-9011 182-73-6091 321-12-3123 336-66-9999 019-28-3746 Harrison Pittsfield Rye account-number A-101 A-201 A-215 A-102 A-305 A-217 A-222 A-201 (c) The depositor table What is the difference between SQL and relational algebra? ( In SQL Environment, what is the difference between DDL and DML ( Write the Relational algebra expressions (using the relational algebra operators: p, σ, TT, A, X) for each of the following queries ( a. List the id and name of all customers b. List all information about customers from Harrison c. List the customer_id, account_number and balance for all account.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Consider the following database with the below relations:
customer-street
12 Alma St.
4 North St.
3 Main St.
123 Putnam Ave.
100 Main St.
175 Park Ave.
72 North St.
(a) The customer table
customer-id customer-name
N192-83-7465 Johnson
019-28-3746
Smith
677-89-9011 Hayes
182-73-6091
Turner
321-12-3123 Jones
336-66-9999 Lindsay
019-28-3746 Smith
account-number
A-101
A-215
A-102
balance
500
700
400
350
900
A-305
A-201
A-217
750
A-222
700
(b) The account table
a
34
customer-city
Palo Alto
Rye
customer-id
192-83-7465
192-83-7465
019-28-3746
677-89-9011
182-73-6091
321-12-3123
336-66-9999
019-28-3746
Harrison
Stamford
Harrison
Pittsfield
Rye
account-number
A-101
A-201
A-215
A-102
A-305
A-217
A-222
A-201
(c) The depositor table
What is the difference between SQL and relational algebra? (
In SQL Environment, what is the difference between DDL and DML (
Write the Relational algebra expressions (using the relational algebra operators: p, σ, TT,
▷, X) for each of the following queries (
a. List the id and name of all customers
b. List all information about customers from Harrison
c. List the customer_id, account_number and balance for all account.
Transcribed Image Text:Consider the following database with the below relations: customer-street 12 Alma St. 4 North St. 3 Main St. 123 Putnam Ave. 100 Main St. 175 Park Ave. 72 North St. (a) The customer table customer-id customer-name N192-83-7465 Johnson 019-28-3746 Smith 677-89-9011 Hayes 182-73-6091 Turner 321-12-3123 Jones 336-66-9999 Lindsay 019-28-3746 Smith account-number A-101 A-215 A-102 balance 500 700 400 350 900 A-305 A-201 A-217 750 A-222 700 (b) The account table a 34 customer-city Palo Alto Rye customer-id 192-83-7465 192-83-7465 019-28-3746 677-89-9011 182-73-6091 321-12-3123 336-66-9999 019-28-3746 Harrison Stamford Harrison Pittsfield Rye account-number A-101 A-201 A-215 A-102 A-305 A-217 A-222 A-201 (c) The depositor table What is the difference between SQL and relational algebra? ( In SQL Environment, what is the difference between DDL and DML ( Write the Relational algebra expressions (using the relational algebra operators: p, σ, TT, ▷, X) for each of the following queries ( a. List the id and name of all customers b. List all information about customers from Harrison c. List the customer_id, account_number and balance for all account.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY