Preview

DATABASE SPECIFICATIONS

Satisfactory Essays
Open Document
Open Document
722 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
DATABASE SPECIFICATIONS
DATABASE SPECIFICATIONS
1.
TABLE NAME : TBLGENDER FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
GID IntN/A PK, IDENTITY NONE
GDESC Varchar6 NOT NULL NONE
2.
TABLE NAME: TBLGRDLVL FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
GRDID IntN/A PRIMARY KEY,IDENTITY NONE
GRDLVLDESC VarChar15 NOT NULL NONE
GRDSECTION Varchar15 NOT NULL NONE
3.
TABLE NAME: TBLRANK FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
RANKID IntN/A PRIMARY KEY,IDENTITY NONE
RANKDESC Varchar20 NOT NULL NONE
4.
TABLE NAME: TBLDEPT FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
DEPTID IntN/A PRIMARY KEY,IDENTITY NONE
DEPTDESC Varchar20 NOT NULL NONE
5.
TABLE NAME: TBLCURRICULUM FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
CURRID IntN/A PRIMARY KEY,IDENTITY NONE
CURRDESC Varchar20 NOT NULL NONE
6.
TABLE NAME: TBLMOBILE FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
MOBILEID IntN/A PRIMARY KEY,IDENTITY NONE
USERID Varchar20 NOT NULL NONE
MOBILEDESC Varchar13 NOT NULL NONE
7.
TABLE NAME: TBLEMAIL FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
EMAILID IntN/A PRIMARY KEY,IDENTITY NONE
USERID Varchar20 NOT NULL NONE
EMAILDESC Varchar30 NOT NULL NONE
8.
TABLE NAME: TBLPARENT FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
PARENTID IntN/A PRIMARY KEY,IDENTITY NONE
FNAME Varchar30 NOT NULL NONE
MNAME Varchar30 NOT NULL NONE
LNAME Varchar30 NOT NULL NONE
ADDRESS Varchar50 NOT NULL NONE
DOB Date/Time N/A NOT NULL NONE
GENDER IntN/A FOREIGN KEY TBLGENDER
MOBILE Varchar13 NOT NULL NONE
EMAIL Varchar20 NOT NULL NONE
9.
TABLE NAME: TBLROOM FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
ROOMID IntN/A PRIMARY KEY,IDENTITY NONE
ROOMDESC Varchar20 NOT NULL NONE
GRD.LVL IntN/A FOREIGN KEY TBLGRDLVL
DEPTID IntN/A FOREIGN KEY TBLDEPT
10.
TABLE NAME: TBLSTAFF FIELD NAME DATA TYPE SIZE CONSTRAINT REFERENCES
STAFFID IntN/A PRIMARY KEY,IDENTITY NONE
FNAME Varchar20 NOT NULL NONE
MNAME Varchar20 NOT NULL NONE
LNAME Varchar20 NOT NULL NONE
GENDER IntN/A



References: PAYID IntN/A PRIMARY KEY,IDENTITY NONE STUDID IntN/A FOREIGN KEY TBLSTUDENT PAYDESC Varchar20 NOT NULL NONE AMOUNT Real N/A NOT NULL NONE PAY.YR IntN/A NOT NULL NONE

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Hiredate DATE No No Job VARCHAR2(15) No No Mgrno number(4) no no yes ( to emp.empno) Salary number(8,2) no no Comm number(8,2) no no Deptno number(2) no no yes ( to…

    • 1169 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    # Select a primary key for each table as indicated in the provided ERD diagram.…

    • 694 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    SERVICE_CO (Co_Name, Co_Phone, Co_Street, Co_City, Co_State, Co_Zip) 7. MAINTENANCE (Vehicle_ID, Serv_Date, Serv_Code, Co_Name) FK Vehicle_ID  CAR FK Co_Name  SERVICE_CO. 8. RESERVATION (Confirm_No, C_Name, C_Phone, Car_Type, Credit_Card_No, Daily_Rate, Mileage_Rate, Res_Pickupdate, Res_Returndate) FK…

    • 182 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    If you do not allow nulls, you must enter a value into the column to continue.…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    2. SELECT e.ename, e.deptno, d.dname, d.deptno FROM emp e LEFT OUTER JOIN dept d ON e.deptno = d.deptno ORDER BY e.deptno, e.ename; SQL> SELECT e.ename, e.deptno, d.dname, d.deptno 2 FROM emp e 3 LEFT OUTER JOIN dept d 4 ON e.deptno = d.deptno 5 ORDER BY e.deptno, e.ename; ENAME DEPTNO DNAME DEPTNO ---------- ----------…

    • 1542 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Kudler Fine Food Week 4

    • 284 Words
    • 2 Pages

    Note: Select all of the data from both of your tables before you perform the following.…

    • 284 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    You will be asked to write SQL scripts to display required information, like we did in the homework.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Assignment Homework

    • 1073 Words
    • 5 Pages

    2. Write queries that performs a join, a subquery, a correlated subquery using the student, enrollment, grade, and zipcode tables. Execute each query to show that it produces the same results. (15 pts)…

    • 1073 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Optimal database design recognizes proper organization of table structures and relationships. Suggest at least two methods that can be used to improve the design of a database system.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    * In an inventory order system, you don't want an order to be deleted if there are inventory order items, or those items will be orphaned.…

    • 579 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Database Design

    • 1196 Words
    • 5 Pages

    “A database is a structured collection of records or data that is stored in a computer system. In order for a database to be truly functional, it must not only store large amounts of record, but also be able to access those records fast and efficiently. In addition, new information and changes should also be easy to input.” (tech-faq.com) To be useful over a long term the database should be able to store all the records necessary for the business to function as well as be able to get all of this information back in case of a system failure or a crash. If all the information is loss a business could go bankrupt so the database is a fail safe for all the information the company has.…

    • 1196 Words
    • 5 Pages
    Better Essays
  • Good Essays

    3. After the primary keys were defined each attribute for each table was then dependent on the primary key for that table respectively. For the Customer and Employee tables in Figure 3 single attribute primary keys were used to uniquely identify each customer and employee.…

    • 650 Words
    • 3 Pages
    Good Essays
  • Good Essays

    The project for the implementation of our new system for billing and customer management is approaching completion. At the moment, the application has passed the user acceptance testing stage and the hardware is already in place. During the development of the system, the team realized that the existing database platform was inadequate to the new system; hence, they suggested using more modern database environment which will cost the company additional licensing costs.…

    • 681 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    Then the functional dependency A → C (which follows from 1 and 3 by the axiom of transitivity) is a transitive dependency.…

    • 586 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Standardisation of DBMS

    • 298 Words
    • 2 Pages

    An early proposal for a standard terminology and general architecture database a system was produced in 1971 by the DBTG (Data Base Task Group) appointed by the Conference on data Systems and Languages. The DBTG recognized the need for a two level approach with a system view called the schema and user view called subschema. The American National Standard Institute terminology and architecture in 1975.ANSI-SPARC recognized the need for a three level approach with a system catalog.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays

Related Topics