Question

In: Computer Science

Describe the functions provided by a relational database that could be used to record courses taken...

Describe the functions provided by a relational database that could be used to record courses taken by university students in order to manage scheduling and preparing transcripts.

Please respond with 200-250 words. Thanks

Solutions

Expert Solution

The functions provided by a relational database that could be used to record courses taken by university students i order to manage scheduling and preparing transcripts are:

  • Create Database: Firest we create a new database by following function,
      CREATE DATABASE University;
  • Select Database: When we have multiple databases in our SQL Schema, then before starting operation, we would need to select a database where all the operations would be performed.
      USE University;
  • Create Table: Then, we create a table to insert records.
CREATE TABLE COURSES(
   ID   INT              NOT NULL,
   NAME VARCHAR (20)     NOT NULL,
   SCHEDULE  DATE        NOT NULL, 
   PRIMARY KEY (ID)
);
  • INSERT INTO: INSERT INTO Statement is used to add new rows of data to a table in the database.
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'BCA', 'Jan-10-2017' );
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'MCA', 'Jan-11-2017' );
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'BTech', 'Jan-18-2017' );
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'MTech', 'Jan-20-2017' );
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'BCA', 'Jan-16-2017' );
INSERT INTO COURSES(ID,NAME,Schedule)
VALUES (1, 'MCA', 'Jan-25-2017' );
  • LIKE: The LIKE operator is used to search for a specified pattern in a column.

SELECT * FROM COURSES
WHERE NAME LIKE 'MC%';


Related Solutions

Describe what a database system is and how it is used. What is a relational database...
Describe what a database system is and how it is used. What is a relational database system and how used in a company to benefit an organization? What does it mean to run a query?
how can object -relational database be used to implement an SDBMS?
how can object -relational database be used to implement an SDBMS?
QUESTION: The following tables describe the content of a relational database: a) Identify and classify the...
QUESTION: The following tables describe the content of a relational database: a) Identify and classify the tables as either entity or relationship The first step in building an E-R model is to identify the entities. Having identified the entities, the next step is to identify all the relationships that exist between these entities. Using the content of the relational database above: b) Using the relations in the relational database, explain how one can transform relationship in E-R model into a...
Describe the functions provided by the microcontroller PIC24FJ256GB106 whihc is used in printers such as HP...
Describe the functions provided by the microcontroller PIC24FJ256GB106 whihc is used in printers such as HP Office Jet 6000? only functionality, no features needed
Describe whether big data or a business intelligence application that uses a relational database, is a...
Describe whether big data or a business intelligence application that uses a relational database, is a better fit for the users at each of the three organizational and management levels.
Define what a relational database is. Describe its importance to an organization and why securing it...
Define what a relational database is. Describe its importance to an organization and why securing it is important
Describe specific examples of corporate actions incorporating concepts that can be taken from courses like business...
Describe specific examples of corporate actions incorporating concepts that can be taken from courses like business law/legal environment, accounting, economics, international business, marketing, finance, and management that contributed to this company’s ranking. In other words, how do you think, based on your research, your company’s CSR ranking was affected by the previously mentioned disciplines? Does a company’s approach to CSR influence your purchasing decisions? Why or why not?
We have provided you the Hotel database to be used with SQLite DBMS. You should use...
We have provided you the Hotel database to be used with SQLite DBMS. You should use this database in SQLite to extract the necessary information as per the following query requirements. The sqlite script is based on the following relational schema: •Hotel (hotelNo, hotelName, city) • Room (roomNo, hotelNo, type, price) • Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo) •Guest (guestNo, guestName, guestAddress) Note the following details of the hotel database; •Hotel contains hotel details and hotelNo is the primary key;...
the mysql lyrics database is provided below 1.)What is a primary key used for? Can you...
the mysql lyrics database is provided below 1.)What is a primary key used for? Can you give me an example of a primary key in the Lyrics database? 2.)What is the purpose of doing a join between two tables. Ex. Why would I ever want to join the Tracks and Titles tables together? 3.)Why is isolation important in database design? DROP TABLES IF EXISTS Artists,Genre, Members, Titles, Tracks,SalesPeople,Studios,XrefArtistsMembers; DROP TABLES IF EXISTS Authors,Publishers,Titles,Title_Authors,Royalties; DROP TABLES IF EXISTS Products,Customers,Orders,Order_details; DROP TABLES...
SQL Assignment: Provide a made-up scenario about when a database trigger could be used. There is...
SQL Assignment: Provide a made-up scenario about when a database trigger could be used. There is no need to provide the syntax to create the trigger, as this would differ depending upon the actual design of the database. Only provide the scenario of when a trigger could be used.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT