logo

Crowdly

Browser

Додати до Chrome

DataBase Fundamentals new

Шукаєте відповіді та рішення тестів для DataBase Fundamentals new? Перегляньте нашу велику колекцію перевірених відповідей для DataBase Fundamentals new в softserve.academy.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

What is a transaction in PostgreSQL?

Переглянути це питання

Which of the following is NOT true about granting privileges in PostgreSQL?

Переглянути це питання
What types of privileges are commonly NOT used in PostgreSQL?
Переглянути це питання

What are Privileges in PostgreSQL?

Переглянути це питання

What is the purpose of SQL roles?

Переглянути це питання

What is the purpose of transaction logs in PostgreSQL?

Переглянути це питання

What is view materialization in PostgreSQL?

Переглянути це питання

Which of the following is an advantage of using views in PostgreSQL?

Переглянути це питання

Suppose you have a PostgreSQL database that contains a table named sales, which contains information about sales transactions. The sales table has columns for the date of the transaction, the name of the salesperson, the product sold, and the amount of the sale. You want to create a grouped view that shows the total sales amount for each salesperson and product combination.

Example of the sales table:

sale_datesalespersonproductsale_amount
2022-03-01John SmithProduct A100.00
2022-03-01Jane DoeProduct B75.00
2022-03-02John SmithProduct C50.00
2022-03-03Bob JohnsonProduct A25.00
2022-03-03Jane DoeProduct B150.00

Which of the following CREATE VIEW statements would accomplish this?

Переглянути це питання

Suppose you have two tables in a PostgreSQL database, customers and orders, with the following data:

customers table:

customer_idcustomer_nameaddresscity
1John Smith123 Main St.Anytown
2Jane Doe456 Oak St.Other town
3Bob Johnson789 Maple Ave.Another town

orders table:

order_idcustomer_idorder_datetotal_amount
112022-03-01150.00
222022-03-0275.00
312022-03-0325.00
432022-03-0450.00

Which of the following CREATE VIEW statements would create a vertical view that displays the customer name, order ID, and total amount for all orders?

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на softserve.academy?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome