Search Header Logo
DATABASE- PERTEMUAN 8

DATABASE- PERTEMUAN 8

Assessment

Presentation

Computers

11th Grade

Practice Problem

Easy

Created by

echa Putra

Used 6+ times

FREE Resource

0 Slides • 15 Questions

1

Drag and Drop

customerNumber​ ,customerName
customers
Drag these tiles and drop them in the correct blank above
From
select
where, filter
group, aggregate
join, merge
insert

2

Drag and Drop

customers (customerNumber,customerName) ​
(1001,'Randi');
Drag these tiles and drop them in the correct blank above
insert into
values
SELECT * FROM
UPDATE
DELETE FROM
SET
GROUP BY

3

Drag and Drop

customerName='DADAN SAPUTRA' ​
customerNumber='1011';
Drag these tiles and drop them in the correct blank above
UPDATE customers
WHERE
SET
DELETE FROM
INTO
INSERT
ORDER
BY

4

Match

select orderDate from orders where month(orderDate)=05;

select

orderDate

from

orders

where month(orderDate)=05;

code

code

code

code

code

5

Match

select count(buyPrice),productLine from products where productLine='Planes';

select

count(buyPrice),productLine

from

products

where productLine='Planes';

code

code

code

code

code

6

Match

select productName,quantityInStock from products where quantityInStock<=400 ;

select

productName,quantityInStock

from products

where

quantityInStock<=400 ;

code

code

code

code

code

7

Match

INSERT INTO PRODUCTS (productName,quantityInStock) VALUES ('HONDA HRV','10');

INSERT

INTO PRODUCTS

(productName,quantityInStock)

VALUES

('HONDA HRV','10');

code

code

code

code

code

8

Drag and Drop

customerNumber, customerName
customers
customerName
Drag these tiles and drop them in the correct blank above
From
select
order
by
ASC
where
INSERT
UPDATE
GROUP BY

9

Drag and Drop

customerName,contactLastName
customers
'Thompson';
Drag these tiles and drop them in the correct blank above
SELECT
FROM
WHERE
contactLastName
=
INSERT
UPDATE
DELETE

10

Drag and Drop

customerName,contactLastName
customers
customerName
​ '%Ltd';
Drag these tiles and drop them in the correct blank above
SELECT
FROM
WHERE
LIKE
INSERT
UPDATE
DELETE
+

11

Drag and Drop

AS terendah
payments;
Drag these tiles and drop them in the correct blank above
SELECT
MIN(amount)
FROM
INSERT, MAX(amount)
UPDATE, AVG(amount)
DELETE, SUM(amount)
MIN AMOUNT

12

Drag and Drop

orderdetails
orderNumber
Drag these tiles and drop them in the correct blank above
SELECT * FROM
ORDER
BY
ASC
LIMIT 5 ;
DELETE FROM orderdetails
UPDATE orderdetails SET
SELECT FROM
BUY
DELETE FROM

13

Drag and Drop

SELECT
as name , jobTitle
employees
jobTitle= 'President'
Drag these tiles and drop them in the correct blank above
CONCAT(firstName,' ', lastName)
FROM
WHERE
OR
jobTitle= 'VP Marketing';
SELECT *
JOIN
GROUP BY

14

Drag and Drop

orderDate from orders
2003
2005;
Drag these tiles and drop them in the correct blank above
select
where
year(orderDate)
and
between
INSERT
ORDER BY
ASC
GROUP BY

15

Match

DELETE FROM CUSTOMERS WHERE customerNumber='12345';

DELETE

FROM CUSTOMERS

WHERE

customerNumber=

'12345';

code

code

code

code

code

customerNumber​ ,customerName
customers
Drag these tiles and drop them in the correct blank above
From
select
where, filter
group, aggregate
join, merge
insert

Show answer

Auto Play

Slide 1 / 15

DRAG AND DROP