Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 12, Problem 8RQ
What does the funnel symbol that appears next to a field’s name in the Query Builder dialog box indicate?
- a. The field is used in a SELECT statement’s ORDER BY clause.
- b. The field is used in a SELECT statement’s WHERE clause.
- c. The field is the primary key.
- d. The field is the foreign key.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
What does the funnel symbol that appears next to a field’s name in the Query Builder dialog box indicate? a. The field is used in a SELECT statement’s ORDER BY clause. b. The field is used in a SELECT statement’s WHERE clause. c. The field is the primary key. d. The field is the foreign key.
Write a SELECT statement that returns three columns: EmailAddress, OrderID, and the order total for each customer. To do this, you can group the result set by the EmailAddress and OrderID columns. In addition, you must calculate the order total from the columns in the OrderItems table.
Write a second SELECT statement that uses the first SELECT statement in its FROM clause. The main query should return two columns: the customer�s email address and the largest order for that customer. To do this, you can group the result set by the EmailAddress column.
Write a SELECT statement that uses a correlated subquery to return one row per customer, representing the customer's oldest order (the one with the earliest date).
Each row should include these five columns:
first_name
last_name
order_id
order_date
total quantity
Include only orders with a total order quantity greater than 2.
Subject: MySQL
Chapter 12 Solutions
Programming with Microsoft Visual Basic 2017
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- When must a comma be used in the SELECT clause of a query? a. when a field name is followed by a column alias b. to separate the SELECT clause and the FROM clause when only one field is selected c. Its never used in the SELECT clause. d. when listing more than one field name and the fields arent concatenated e. when an arithmetic expression is included in the SELECT clausearrow_forwardWhich of the following commands can you use to rename a constraint? RENAME ALTER CONSTRAINT MOVE NEW NAME None of the above commands can be used.arrow_forwardColonial Adventure Tours would like to increase the length of the START _LOCATION field in the TRIP table to 75 characters. Create but do not execute the SQL statement to change the length of the field to 75 characters.arrow_forward
- Which type of constraint can be used to make certain the category for a book is included when a new book is added to inventory?arrow_forwardSuppose you created a PRIMARY KEY constraint at the same time you created a table and later decide to name the constraint. Which of the following commands can you use to change the constraint’s name? ALTER TABLE … MODIFY ALTER TABLE … ADD ALTER TABLE … DISABLE None of the above commands can be used.arrow_forwardUSing sakila SELECT last_name, first_name, ROUND(AVG(length), 0) AS averageFROM actorINNER JOIN film_actor ON film_actor.actor_id = actor.actor_idINNER JOIN film ON film_actor.film_id = film.film_idWHERE title = "ALONE TRIP"GROUP BY last_name, first_nameORDER BY average;Highlight the SELECT query.In the main menu, select Query > Explain Current Statement.In the Display Info box, highlighted in red below, select Data Read per Join. The execution plan depicts the result of EXPLAIN for the SELECT query. The execution plan has seven steps, corresponding to the red numbers on the screenshot: Access a single film row using the idx_title index on the title column. Access matching film_actor rows using the idx_fk_film_id index on the film_id foreign key. Join the results using the nested loop algorithm. Access actor rows via the index on the primary key. Join actor rows with the prior join result using the nested loop algorithm. Store the result in a temporary table and compute the…arrow_forward
- Your company needs to contact the 1st author of each textbook and to discuss reprint options. Pull out the 1st author for all the books. Please note that the order of authors has been marked as integer values 1, 2, 3, etc. in the field Auth_Order in the AuthorshipLog table. The query result should show the following information in the given order: Book title, 1st author’s last name, 1st author’s email, and 1st author’s phone. Save and name the query 2 First Author Contacts. How would I go about this in Access's query design?arrow_forwardDescribe a situation in which you would need to write a query using the HAVING clause.arrow_forwardGiven the table PRODUCT(ProductID, ProductName, ProductClass, ProductWeight, ProductStyle, ProductColor, ProductPrice). Note: ProductWeight and ProductPrice are numeric fields, and the other attributes are character fields, i.e., store text. Write a SQL query to display the product class whose average price is at least 50arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
How to Design DB Tables for any Application? (The Basics); Author: Studytonight;https://www.youtube.com/watch?v=XUdNVaSikqY;License: Standard YouTube License, CC-BY
Create a Table (Introduction to Oracle SQL); Author: Database Star;https://www.youtube.com/watch?v=BiV1IrzB1sY;License: Standard Youtube License