

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Test Case: 1 Test Description: To check the outcome of the create table for this purpose table name Players was created. CREATE TABLE Players ( P_id int NOT NULL, P_fname varchar(255), P_lname varchar(255), P_gender varchar(10), P_phone number, P_add varchar(255), P_email varchar(255), T_id int, Primary Key (P_id), CONSTRAINT FK_Teams FOREIGN KEY (T_id) REFERENCES Teams(T_id)); Expected Outcome: A table named Player will be created with the specified field names, primary keys and foreign keys respectively. Actual Outcome: Screenshot Figure 24: Create table Players (Test case 1) The records were shown as expected for the query executed. All the queries were displayed along
with its primary key and foreign key. Therefore the test has run successfully. Test Case: 2 Test Description: To check the data of a particular table is recorded and displayed properly. In order to check the records the table Playerstatus will be used for this purpose. The query used to check the data availability in a table is: Select * from Playerstatus; Expected Outcome: All the records related to the table Playerstatus should be displayed along with its primary and foreign keys. Actual Outcome: