Font size
WorksheetsPretest 2
Total questions: 10
Worksheet time: 7mins
Bagaimana SQL dapat terbentuk?
How SQL could be formed?
Atas kombinasi relational-algebra dan relational-physics
By the combination of relational-algebra and relational-physics
Atas kombinasi relational-algebra dan relational-calculus
By the combination of relational-algebra and relational-calculus
Atas hasil dari relational-calculus
By the result of relational-calculus
Atas hasil kombinasi dari relational-physics dan relational-chemist
By the result combination of repational-physics and relational-chemist
Kelompok perintah yang digunakan dalam SQL antara lain...
Group of commands used in SQL are ...
DDL
DFL
PCL
EPL
DML
DDL
PCL
DFL
DDL
DML
DCL
PCL
DDL
DML
DCL
TCL
Perintah apa yang digunakan untuk membuat skema dan deskripsi basis data? What commands used for creating database schemas and descriptions?
Data definition language
Transaction control language
Data manipulating language
Data control language
Bagaimana penulisan query pembuatan tabel mata kuliah dengan field id, kode mk, nama, serta sks?
How to write a correct query to make a course table with fields: id, code, name, and sks?
CREATE TABEL course (
id int not null default primary key auto_increment,
code varchar(55),
name varchar(255) not null,
sks tinyint
);
INSERT TABLE course (
id int not null primary key,
code varchar(10) not null,
name varchar(255) not null,
sks tinyint not null
);
CREATE TABLE course (
id int not null primary key auto_increment,
code varchar(10) not null,
name varchar(255) not null,
sks tinyint not null
);
CREATE TABEL course (
id int not null default primary key auto_incremental,
code varchar(10) not null,
name varchar(255) not null,
sks tinyint not null
);
Bagaimana query yang tepat untuk menghapus tabel universitas?
What is the correct query to delete universitas table?
DROP tabel university
DROP table universitas
DROP table university
DROP universitas
Pilih query yang tepat untuk menambahkan record ke tabel departemen (id, name, kadep_id)!
Select the correct query to insert record into departemen table (with available columns: id, name, kadep_id)!
INSERT INTO departemen (name, kadep_id) VALUES ("Teknik Elektro", 5)
INSERT INTO departemen VALUES (1, "Elektronika")
INSERT TABLE departemen (name, kadep_id) VALUES ("Teknik Elektro", 5)
INSERT TABLE department (id, name, kadep_id) VALUES (50, "Elektro UM", 100)
Buat query untuk mengambil seluruh record yang mengandung semester 3 pada tabel matakuliah yang dibuat sebelumnya!
Create a query to retrieve all records that contain semester 3 at previously generated matakuliah table before!
(a)
Diketahui database mysql memiliki tabel departemen memiliki kolom id, name, kadep_id, serta fakultas. Tulis query yang menunjukkan record seluruh departemen yang memiliki value Fakultas mirip dengan Keguruan dan Ilmu Pengetahuan!
At the mysql database, it is known that departemen table contains id, name, kadep_id, and fakultas. Write a query that shown all departemen records containing Fakultas value like Keguruan dan Ilmu Pengetahuan!
(a)
Alter adalah salah satu perintah DML
Benar
Salah
Pengurutan data secara meningkat disebut...
Ascending
Order
Group
Descending
