CS430 Midterm 2 Exam Practice Questions and Answers
1 view 0 purchase
Course
2024/2025
Institution
2024/2025
CS430 Midterm 2 Exam Practice
Questions and Answers
One key difference between a natural join and an inner join is: - Ans:-the number of columns
returned
We define a view in SQL by using the create view command. - Ans:-True
To remove an authorization, we use the ________________command. - Ans:...
____________________ are a scheme that allows authorizations to be assigned to a set of
responsibilities, and people to be assigned to those responsibilities. - Ans:✔✔-Roles
Outer join query operations can be implemented by a simple extension of join algorithms. - Ans:✔✔-
True
Indices are created by using the "GRANT index {index-name} on {relation-name} using {field-name}"
command. - Ans:✔✔-False
What are the two possible SQL statements that must end a transaction? - Ans:✔✔-Commit work
Rollback work
What is the concept of referential integrity? - Ans:✔✔-That a foreign key entry in one table must point to
a valid record in the table associated with the foreign key.
Which of the following is true about SQL? - Ans:✔✔-SQL is both a Data Manipulation Language (DML)
and a Data Definition Language (DDL).
SQL specifies strings by enclosing them in double quotes. - Ans:✔✔-False
The _________________ command is used to insert data into a relation. - Ans:✔✔-insert
Match the domain type to its description.
Page 2/12
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GraceAmelia. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.