Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone help me with these questions a-h on paper please Write a spl serlpt tor a) Create table A with 3 coluens, one of

can someone help me with these questions a-h on paper please
image text in transcribed
Write a spl serlpt tor a) Create table A with 3 coluens, one of which is a prinary key. b) Create tabie 8 with 3 coluans, one of which is a prinary key and another of which is a foreign key referencing the primary key in table A. c) Insart 2 rown in table A d) Insent 2 rows into table 8 e) Criteria for (c) and (d): The tables should have "referential integrity"l 1.e. The foreign keys in table B should have corresponding values in table A. What does that men? If the primary keys are "1" and " 2 " in table A, then the correspondine forelgn. keys: should be " I " and " 2 ". 1) Alter table B to add a NON NuLt colum to It, and provide a ockaulT value for the colum. 16) Alter table A to renaer it "c". h) Inner join table C and table i. T.11 be eradine syntax like seeicolons. proper sql stateaent s and grading pretty strictly. Maybe - 5 per syntax error and 10 for writing something that nakes no sense. Your goal is to be able to urite 10 or so 50L stateaents without making any aistakes

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions