Question: SQL SERVER TABLE CODE IN NOTEPAD please SQL Table Creation Homework Due 2 April 1. You own a farm (ok, a big farm) and want

SQL SERVER TABLE CODE IN NOTEPAD please SQL Table Creation Homework DueSQL SERVER TABLE CODE IN NOTEPAD please

SQL Table Creation Homework Due 2 April 1. You own a farm (ok, a big farm) and want to start a DB to keep track of important things. In particular vou want to keep track of crops and animals. 2. Create the following tables, with at least the field information listed (the info provided are not field names; you supply them): A. Crop -crop name -cost of seed (per bushel) yield per acre (in bushels) -current number of acres planted in the crop -average cost to grow per acre -date the crop is ideally planted B. Animal -animal name (e.g., "cow"); this may not be null type (either "D? for domestic or " N" for foreign) -current number of head owned -offspring? (a yeso field that states if the animal could have baby animals on the farm) 3. Create the proper relationship between the two tables. The business rules are that an animal may be fed one crop, and a crop is fed to one or more animals. 4. After you have done the above, add a field the gives the average number of days that it takes for a crop to grow, from planting to harvesting. Do not let this value be left blank For this homework, I want the hardcopy Notepad++ printout of the code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!