Question: Consider the following sqlite tables: parts (pid integer primary key, pname text, pmaterial text, pcolor text, pprice float) supplier (sid integer primary key, sname text,
Consider the following sqlite tables: parts (pid integer primary key, pname text, pmaterial text, pcolor text, pprice float) supplier (sid integer primary key, sname text, scity text, sphone text) supplies (pid integer references parts (pid), sid integer references supplier (sid), stock integer, primary key (pid, sid)) Use SQLite syntax to write SQL for the following query: Find the id, name, price for all parts supplied by suppliers from "NY". Por ejemplo: Test Resultado Case 1 pid pname Pprice 4 chicharra bondo 10.0 2.0 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
