ICT3722 ASSIGNMENT SEMESTER 1 &2 DATABASE PRACTICE WITH ANSWERS 100%CORRECT INCLUSIVE OF SQL CODES
Question 1. Write an SQL code that will generate the following tables: (8mks) 1 Book table. CREATE TABLE BOOK ( Book_id NUMERIC(5) NOT NULL PRIMARY KEY, AuthId NUMERIC(5) , Types_id NUMERIC(5), Name VARCHAR(20), Page_count NUMERIC(5) ); 2.Author table. CREATE TABLE AUTHOR ( AuthId NUMBER(5) NOT NULL PRIMARY KEY, Name CHAR(15), Surname CHAR(20), ); Question 2 (5 Marks) The tables below in Appendix A shows the contents of the tables that you have generated in Question 1, populate these tables with data as shown in the relevant table by doing the following: 1 Write the code that populates the Book table. Submit this code. (5) INSERT IN.................................................
Geschreven voor
- Instelling
- ICT 3722
- Vak
- ICT 3722
Documentinformatie
- Geüpload op
- 30 juli 2021
- Bestand laatst geupdate op
- 30 juli 2021
- Aantal pagina's
- 6
- Geschreven in
- 2020/2021
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
tutorial letter 10432021 database practice ict3722 semesters 1amp2 computer science note this is a fully online module and therefore it is only available on myunisa assignment 04 a
Ook beschikbaar in voordeelbundel