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
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...
Describe what each line does in the following SQL query The lyrics database is provided under...
Describe what each line does in the following SQL query The lyrics database is provided under question 3 for context 1. select studioID, studioname, base from salespeople sa inner join studios st on (sa.salesID = st.salesid) where base < 300 2. select concat_ws(' ', firstname, lastname) as "Member Name"         from members; 3. select m.lastname, m.firstname, s.lastname         from members m inner join salespeople s using (salesID)         order by m.lastname asc; The lyrics database is provided below DROP TABLES...
Describe steps that could be taken to improve the likelihood of Aboriginal and/or Torres Strait Islander...
Describe steps that could be taken to improve the likelihood of Aboriginal and/or Torres Strait Islander peoples accessing the health or welfare services they require.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT