® 32 questions were answered correctly.
4 questions were answered incorrectly.
Te
In each milestone, you may want or need to use the database
and query tool to answer some of the questions. We suggest you
open the tool in another browser tab while you are working on
this assessment.
https://postgres.sophia.org/
Using the WHERE clause, filter the invoice table to find the
invoices dated January 15th, 2011.
,A common mistake when filtering dates can be incorrectly
identifying the day, month, and year, as different countries may list
them in a different order. Always check your data first to ensure the
correct order of the day, month, and year. Other common errors are
using the wrong inequality comparison (e.g., > rather than <),
filtering on the wrong column of data, and using the wrong data
table. Also, make sure that you use the correct format for the date,
using yyyy-mm-dd.
CONCEPT
— Filter by Date
Report an issue with this question
2 @
In each milestone, you may want or need to use the database
and query tool to answer some of the questions. We suggest you
open the tool in another browser tab while you are working on
this assessment.
https://postgres.sophia.org/
Using the IN operator, filter the invoice table to find those
with the billing city set to Paris, London, New York, or Brussels.
Identify the billing postal code of the 4th record.
,RATIONALE
Common mistakes include filtering the wrong column of data, using
the wrong table, not using commas to separate out each criterion,
omitting single quotes around string data, and incorrectly spelling
the values.
CONCEPT
— IN to Filter Data
Report an issue with this question
2 @
In each milestone, you may want or need to use the database
and query tool to answer some of the questions. We suggest you
open the tool in another browser tab while you are working on
this assessment.
https://postgres.sophia.org/
Identify the correctly constructed ALTER TABLE statement that
removes the age column from the user table.
, Common mistakes when adding or dropping a column include
incorrectly naming the table or column names, not including the
data type and size when adding a column, and using the incorrect
syntax structure of the ALTER TABLE command.
CONCEPT
— ALTER TABLE to Change Columns: Add/Drop
Report an issue with this question
4“ @
In each milestone, you may want or need to use the database
and query tool to answer some of the questions. We suggest you
open the tool in another browser tab while you are working on
this assessment.
https://postgres.sophia.org/
Using the GROUP BY and HAVING clauses, filter the customer
table by country.
RATIONALE
Common mistakes when using the HAVING clause with the GROUP
BY clause in a SELECT statement include: not using aggregate
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 VEVA2K. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $18.99. You're not tied to anything after your purchase.