Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ou want to select author's last name from a table, but you only remember the author s last name starts with the letter B ,
ou want to select author's last name from a table, but you only remember the authors last name starts with the letter B which string pattern can you use?
point
SELECT lastname from author where lastname like B#
SELECT lastname from author where lastname like B
SELECT lastname from author where lastname like B$
None of the above
Question
In a SELECT statement, which SQL clause controls how the result set is displayed?
point
ORDER BY clause
ORDER IN clause
ORDER WITH clause
Question
Which of the following can be used in a SELECT statement to restrict a result set?
point
HAVING
WHERE
DISTINCT
All of the above
Question
When querying a table called Author that contains a list of authors and their country of residence, which of the following queries will return the number of authors from each country?
point
SELECT Country, countCountry FROM Author GROUP BY Country
SELECT DistinctCountry FROM Author
SELECT Country, countCountry FROM Author
SELECT Country, distinctCountry FROM Author GROUP BY Country
Question
You want to retrieve a list of books that have between and pages. Which clause would you add to the following SQL statement:
SELECT Title, Pages FROM Book
point
WHERE Pages
WHERE Pages
WHERE Pages and pages
IF Pages and Pages
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started