Question: Consider the following schema: Person (pid: integer, name: string): Observer (pid: integer): Meteorologist (pid: integer): Consumer (pid integer): Lives_At (streetAddress: string, city string, state, string,
Consider the following schema: Person (pid: integer, name: string): Observer (pid: integer): Meteorologist (pid: integer): Consumer (pid integer): Lives_At (streetAddress: string, city string, state, string, pid: integer.), Forecast (tid: string, high: integer, low:integer, fdate: date, city: string): Presents (pid: integer, fid integer), Views (pid: integer, fid: integer); Records (pid: integer, oid integer, method: string); This represents a subset of the schema that was used in Project 1. Suppose that the tables have already been created and entries have been inserted into them. Now suppose you need to add another tuple to the Records table. The attributes of the tuple are as follows: method: notebook, oid: 36 pid 11567 Select a correctly formatted SQL statement to create the new entry in the Records table, assume that any referenced key values exist. insert into Records values ('notebook 36, 11567); insert into Records (method, oid, pid) values ('notebook! 11567, 36); insert into Records (method, oid, pid) values ('notebook, 36, 11567); insert into Records (method, oid, pid) values ('notebook', 11567)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
