logo

Crowdly

Browser

Додати до Chrome

Retake | Database Management Systems | Aldiyar Salkenov

Шукаєте відповіді та рішення тестів для Retake | Database Management Systems | Aldiyar Salkenov? Перегляньте нашу велику колекцію перевірених відповідей для Retake | Database Management Systems | Aldiyar Salkenov в moodle.astanait.edu.kz.

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

Which SQL statement allows you to find the total sales amount for Store ID 25 and the total sales amount for Store ID 45?

Table SALES

 Column Name 
 STORE_ID 
 SALES_DATE 
 SALES_AMOUNT 

100%
0%
0%
0%
Переглянути це питання
From the following table, write a SQL query to count the number of employees in each department. Return department code and number of employees.

Sample table: emp_details

EMP_IDNO EMP_FNAME EMP_LNAME EMP_DEPT

--------- --------------- --------------- ----------

127323 Michale Robbin 57

526689 Carlos Snares 63

843795 Enric Dosio 57

328717 Jhon Snares 63

444527 Joseph Dosni 47

659831 Zanifer Emily 47

847674 Kuleswar Sitaraman 57

748681 Henrey Gabriel 47

555935 Alex Manuel 57

539569 George Mardy 27

733843 Mario Saule 63

631548 Alan Snappy 27

839139 Maria Foster 57

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

Which SQL statement is the correct one to use to find the earliest date STORE_ID 10 had a sales amount greater than 0?

Table SALES

 Column Name 
 STORE_ID 
 SALES_DATE 
 SALES_AMOUNT 

0%
100%
0%
0%
Переглянути це питання
Will the following statement execute successfully?

SELECT [Category] ,[Subcategory] ,COUNT(*) AS [NoProducts] FROM [dbo].[ProductStock] GROUP BY [Category];

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

Evaluate the following SQL statement:

SELECT promo_category, AVG(promo_cost) Avg_Cost,

AVG(promo_cost)*.25 Avg_Overhead

FROM promotions

WHERE UPPER(promo_category) IN ('TV',

'INTERNET','POST')

GROUP BY Avg_Cost

ORDER BY Avg_Overhead;

The above query generates an error on execution.

Which clause in the above SQL statement causes the

error?

0%
0%
0%
0%
Переглянути це питання
The following query: SELECT [Name], [Year], SUM([Sales]) FROM [dbo].[Product] GROUP BY GROUPING SETS (([Name]), ([Year]))

Is equivalent with?
0%
0%
0%
0%
Переглянути це питання

Which query finds the total weight of cats grouped by age, but only returns those groups with a total weight larger than 12 ordered by age?

Table schema:

namevarchar
breedvarchar
weightfloat
colorvarchar
ageint

0%
100%
0%
0%
Переглянути це питання
'Having' clause is used with
100%
0%
0%
Переглянути це питання

SELECT COUNT(_____ id) FROM teachers WHERE semester = 'Spring' AND year = 2010;

If we do want to eliminate duplicates, we use the keyword _____ in the aggregate expression.

0%
0%
0%
100%
Переглянути це питання
Examine the description of the STUDENTS table:

STD_ID INTEGER,

COURSE_ID VARCHAR(10),

START_DATE DATE,

END_DATE DATE.

Which aggregate functions are valid on the START_DATE column? (Choose all that apply)
0%
0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.astanait.edu.kz?

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

Browser

Додати до Chrome