Questions from Database Management


Q: To enforce referential integrity, before any row can be entered into

To enforce referential integrity, before any row can be entered into the SECTION table, the CourseID to be entered must already exist in the COURSE table. Write an SQL assertion that will enforce this...

See Answer

Q: Write SQL data definition commands for each of the following queries:

Write SQL data definition commands for each of the following queries: a. How would you add an attribute, Class, to the STUDENT table? b. How would you remove the REGISTRATION table? c. What would you...

See Answer

Q: Write SQL commands for the following: a. Create two

Write SQL commands for the following: a. Create two different forms of the INSERT command to add a student with a student ID of 65798 and last name Lopez to the STUDENT table. b. Now write a command t...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. Which students have an ID number that is less than 50000? b. What is the name of the faculty member whose ID is 4756? c. What is the smallest se...

See Answer

Q: Discuss some of the languages that are associated with Internet application development

Discuss some of the languages that are associated with Internet application development. Classify these languages according to the functionality they provide for each application. It is not necessary...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. How many students are enrolled in Section 2714 in the first semester of 2018? b. What are the numbers of the faculty members who are currently q...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. Which students are enrolled in Database and Networking? (Hint: Use SectionNo for each class so you can determine the answer from the REGISTRATIO...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. What are the courses included in the Section table? List each course only once. b. List all students in alphabetical order by StudentName. c. Li...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. List the numbers of all sections of course ISM 3113 that are offered during the semester “I-2018.” b. List t...

See Answer

Q: Write SQL queries to answer the following questions: a.

Write SQL queries to answer the following questions: a. For each course included in the QUALIFIED table, list CourseID and the number of faculty members qualified to teach it. b. For each section incl...

See Answer