SQL Queries Introduction

SQL Queries Introduction

University

38 Qs

quiz-placeholder

Similar activities

MSSDF Module 8

MSSDF Module 8

10th Grade - University

40 Qs

BDL_MI

BDL_MI

University

35 Qs

DBMS Unit 1

DBMS Unit 1

University

40 Qs

FINAL IM

FINAL IM

University

43 Qs

PL/SQL Advanced knowledge

PL/SQL Advanced knowledge

University

37 Qs

QUIZ 3

QUIZ 3

University

40 Qs

Sistem Basis Data UTS Latihan

Sistem Basis Data UTS Latihan

University

42 Qs

SQL

SQL

University

35 Qs

SQL Queries Introduction

SQL Queries Introduction

Assessment

Quiz

Computers

University

Hard

Created by

Thivya Sindhu

Used 3+ times

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a ‘tuple’?

A row or record in a database table

Another name for the key linking different tables in a database.

An attribute attached to a record.

Another name for a table in an RDBMS.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to remove rows from a table ‘CUSTOMER’ is:

REMOVE FROM CUSTOMER …

DROP FROM CUSTOMER …

DELETE FROM CUSTOMER WHERE …

UPDATE FROM CUSTOMER …

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to eliminate a table from a database is:

REMOVE TABLE CUSTOMER;

DROP TABLE CUSTOMER;

DELETE TABLE CUSTOMER;

UPDATE TABLE CUSTOMER;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

SELECT [all] FROM Persons

SELECT Persons

SELECT * FROM Persons

SELECT *.Persons

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how can you insert a new record into the "Persons" table?

INSERT ('Jimmy', 'Jackson') INTO Persons

INSERT VALUES ('Jimmy', 'Jackson') INTO Persons

INSERT INTO Persons VALUES ('Jimmy', 'Jackson')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The NOT NULL constraint enforces a column to not accept empty values.


Next ❯

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the given query which of the keyword has to be inserted?

INSERT INTO employee _____ (1002,Joey,2000);

Table

Values

Relation

Field

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?