Basis Data

Basis Data

10th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

MYSQL

MYSQL

12th Grade

25 Qs

HTML

HTML

11th Grade

25 Qs

Kuis AP (Var, If, Looping)

Kuis AP (Var, If, Looping)

11th Grade

25 Qs

CULTURA DIGITAL unidad 1

CULTURA DIGITAL unidad 1

11th Grade

25 Qs

web development

web development

10th Grade

25 Qs

Searching and Sorting

Searching and Sorting

10th Grade - University

25 Qs

ms access

ms access

11th Grade

33 Qs

Ulangan Harian 1 MYOB

Ulangan Harian 1 MYOB

11th Grade

25 Qs

Basis Data

Basis Data

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Darmawan Ajeh

Used 105+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. Cara menghapus table barang

A. drop table * barang;

B. drop table barang;

C. drop table barang;

D. drop table_barang;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

2. Tamplikanlah seluruh field yang berada didalam tabel barang

A. select barang;

B. select *from barang;

C. select * barang

D. select * barang;

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

3. Buat lah user baru pada table karyawan dengan user = sofyan dan password = sosa

A. SQL create user sofyan identified by sosa;

B. SQL> create user sofyan by sosa;

C. SQL> create user sofyan identified by sosa;

D. SQL> create user sofyan identified by sosa;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4. Tampilkan last name dengan huruf capital dimana last name nya di awali dengan huruf ‘A’

A. SQL> select upper(last_name),salary from employees where last_name 'A%';

B. SQL> select upper(last_name),salary from employees where last_name like 'A%';

C. SQL> select upper(last_name),salary from employees where last_name like 'A';

D. SQL> select upper(last_name),salary from employees where last_name like 'A%;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

5. Buatlah kolom NIP pada table karyawan sebagai index?

A. SQL> create index karyawan nip idx on karyawan(nip);

B. SQL> create index karyawan_nip_idx on karyawan(nip)

C. SQL> create index karyawan_nip_idx on karyawan(nip);

D. SQL> create index karyawan_nip_idx karyawan(nip);

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

6. Hapus hak akses delete dari user sosa

A. Revoke delete on karyawan from sosa;

B. Revoke delete on karyawan sosa;

C. Revoke delete karyawan from sosa;

D. Revoke delete on karyawan from sosa

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

7. Buatlah kolom NIP sebagai primary key pada table karyawan

A. SQL> alter table karyawan add constraint pk_nip primary key nip;

B. SQL> alter table karyawan add constraint pk_nip primary key (nip)

C. SQL> alter table karyawan add constraint pk_nip primary key (nip);

D. SQL> alter table karyawan add constraint pk nip primary key (nip);

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers