






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







a record - correct answer Which of the following represents a row in a table? one-to-many - correct answer Which of the following defines a relationship in which each occurrence of data in one entity is represented by multiple occurrences of the data in the other entity? some-to-many - correct answer Which of the following is not an E-R model relationship? a straight line with a crow's foot at both ends - correct answer Which of the following symbols represents a many-to-many relationship in an E-R model? unnormalized data - correct answer Which of the following can contain repeating groups? one-to-one - correct answer Which of the following defines a relationship in which each occurrence of data in one entity is represented by only one occurrence of data in the other entity? 3NF - correct answer Which of the following has no partial or transitive dependencies? a straight line with a crow's foot at one end - correct answer Which of the following symbols represents a one-to-many relationship in an E-R model? 2NF - correct answer Which of the following has no partial dependencies but can contain transitive dependencies?
1NF - correct answer Which of the following has no repeating groups but can contain partial or transitive dependencies? primary key - correct answer The unique identifier for a record is called the: foreign key - correct answer Which of the following fields also serves as a primary key in another table when two tables are joined together on that value? composite primary key - correct answer A unique identifier for a data row that consists of more than one field is commonly called a: a dashed line - correct answer Which of the following symbols represents an optional relationship in an E-R model? many-to-many relationship - correct answer Which of the following, when used in an E-R model, indicates the need for an additional table? a column - correct answer Which of the following represents a field in a table? many-to-many - correct answer Which of the following defines a relationship in which data can have multiple occurrences in each entity? transitive dependency - correct answer When part of the data in a table depends on a field in the table that isn't the table's primary key, it's known as: common field - correct answer Which of the following is used to join data contained in two or more tables?
SELECT * FROM customers WHERE firstname LIKE '%N%'; - correct answer Which of the following includes a customer with the first name BONITA in the results? _ - correct answer Which of the following represents exactly one character in a pattern search? SELECT * FROM books WHERE title like 'H_N_C%'; - correct answer Which of the following returns the book HANDCRANKED COMPUTERS in the results? SELECT * FROM books WHERE pubdate > '20-MAR-05'; - correct answer Which of the following SQL statements returns all books published after March 20, 2005? SELECT * FROM orders WHERE orderdate <'05-APR-09' AND shipdate is NULL; - correct answer Which of the following finds all orders placed before April 5, 2009 that haven't yet shipped? % - correct answer Which of the following symbols represents any number of characters in a pattern search? SELECT title, retail-cost profit FROM books WHERE retail-cost >=10.00 ORDER BY "PROFIT" desc; - correct answer Which of the following lists each book having a profit of at least $10.00 in descending order by profit? SELECT * FROM books WHERE title LIKE '%AS_E%'; - correct answer Which of the following includes the book HOW TO GET FASTER PIZZA in the query results? Select LastName, FirstName, State from customers where state='NJ'; - correct answer Which customers live in New Jersey? List each customer's last name, first name, and state. Select Title, Category from Books where Category <> 'FITNESS'; - correct answer Which books aren't in the Fitness category? List each book title and category.
FROM customers CROSS JOIN orders; SELECT title FROM books NATURAL JOIN publisher WHERE name = 'PRINTING IS US'; - correct answer Which of the following lists all books published by the publisher named Printing Is Us? To include unmatched records in the results, the record is paired with a NULL record in the deficient table. - correct answer Which of the following statements about an outer join between two tables is true? 30 - correct answer What is the maximum number of characters allowed in a table alias? Select BOOKS.TITLE as BOOK_TITLE, PUBLISHER.NAME AS PUBLISHER_NAME, PUBLISHER.PHONE as PUBLISHER_NAME from BOOKS, PUBLISHER where BOOKS.PUBID=PUBLISHER.PUBID; - correct answer Create a list that displays the title of each book and the name and phone number of the contact at the publisher's office for reordering each book. Select ORDERITEMS.ORDER# as ORDER_ID, CUSTOMERS.FIRSTNAME, CUSTOMERS.LASTNAME as LASTNAME from ORDERITEMS, ORDERS, CUSTOMERS WHERE ORDERITEMS.ORDER#!=ORDERS.ORDER# AND ORDERS.CUSTOMER#=CUSTOMERS.CUTOMER# order by ORDERS.ORDERDATE; - correct answer Determine which orders haven't yet shipped and the name of the customer who placed the order. Sort the results by the date on which the order was placed. SELECT customer#, c.firstname||' '||c.lastname as name, order#, ISBN, b.category, c.state FROM customers c JOIN orders o USING (customer#) JOIN orderitems oi USING (order#) JOIN books USING (ISBN) WHERE state = 'FL' AND category ='COMPUTER'; - correct answer Produce a list of all customers who live in the state of Florida and have ordered books about computers. SELECT a.lname, a.fname, b.title FROM books b, orders o, orderitems i, customers c, bookauthor , author a WHERE c.customer# = o.customer#
AND firstname= 'BECCA' AND lastname = 'NELSON' AND o.order# = i order# AND i.isbn = b.isbn AND b.isbn = t.isbn AND t.authorid = a.authorid - correct answer Identify the authors of the books Becca Nelson ordered. Perform the search using the customer name. ORDER BY clause - correct answer Used to specify the sorted order for displaying query results NULL value - correct answer means no value has been stored in that field ORDER BY clause - correct answer used to display query results in a sorted order, is listed at the end of the SELECT statement DESC - correct answer To view publishers in descending alphabetical order by name, enter _____ after the column name The LIKE comparison operator - correct answer used with the percent and underscore symbols (% and _) to establish search patterns
a row - correct answer a record is called a table - correct answer a file is known as Systems Development Life Cycle (SDLC) - correct answer The design and development of a system Systems Development Life Cycle (SDLC) steps - correct answer 1. Systems investigation: Understanding the problem
(1NF) - correct answer indicates that all values of the columns are atomic— meaning they contain no repeating values