3.1 Create a database Cat with the following schema: CREATE TABLE owners ( ownerid integer, name text, age integer, PRIMARY KEY (ownerid) ); CREATE TABLE cats ( catid integer, owner integer, name text, breed text, age integer, PRIMARY KEY (catid), FOREIGN KEY (owner) REFERENCES owners);

Fundamentals of Information Systems
8th Edition
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Applications
Section: Chapter Questions
Problem 15SAT: An in-memory database (IMDB) is a database management system that stores the entire data-base in...
icon
Related questions
Question

3.1 Create a database Cat with the following schema:

CREATE TABLE owners (

ownerid integer,

name text,

age integer,

PRIMARY KEY (ownerid)

);

CREATE TABLE cats (

catid integer,

owner integer,

name text,

breed text,

age integer,

PRIMARY KEY (catid),

FOREIGN KEY (owner) REFERENCES owners);

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Dataset
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning