Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

my ID No. is / 15f14045 Write the appropriate at statement for the following with screen shots of the execution: (30 Marks) NOTE: please add

my ID No. is / 15f14045 image text in transcribed
Write the appropriate at statement for the following with screen shots of the execution: (30 Marks) NOTE: please add your student ID to add to the column names to avoid similarity: Table name: Country Column Name Data Type Constraint Integer CountryID Country Name Primary Key Not null Varchar ContinentName Varchar Phone No Integer Table Name: Plant Column Name Data Type Constraint Planti Integer Primary key REC_AMO TEM_035_02 Page 2 of 12 Fundamentals of Relational Database Management Systems (COMP 20002.1) - Fall-2020 - CW2 (Assignment2) - ALL-QP PlantName varchar Not null Type varchar Should not be less than 0.0 Height Numeric62) PlantedDate Date Country Integer References to country table a. Create country and Plant tables as per the above given structure (12 marks) b. Create a view that will display the total number of plants per type. (6 Marks) Change the planted date of plants which belongs to creeper or climber type to 31st Aug 2000 (6 Marks) d. Write a subquery to display the Plant ID, Plant name and continent name of all quotes that originates from the country tranor Australia (6 Marks)

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions