Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

customer (cid, name, email, dob) ordr (oid, cid, tim) ordritem(oid, pid, qty) product (pid, name, price) It's a schema for a store: customer table has

customer (cid, name, email, dob) ordr (oid, cid, tim) ordritem(oid, pid, qty) product (pid, name, price) It's a schema for a store: customer table has customer information, ordr has order information (links to customer via cad), and ordritem (inks to ordr via old) has order line-iters and quantity and link to products via pid. 1. Find customer id of John Doc. (a) select cid from customer where name=' John Doe' (b) select name from customer where fname=' John' and Iname='Doe' (c) select * from customer where name=' John Doe' (d) select cid from customer where fname= John' and Iname='Doe' (e) Other

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

6. Which one of the following attributes applies to the Z Table?

Answered: 1 week ago