DBMS_SQL Intro

DBMS_SQL Intro

University

8 Qs

quiz-placeholder

Similar activities

SQL

SQL

University

10 Qs

Lecture 02

Lecture 02

University

10 Qs

RDBMS

RDBMS

University

10 Qs

ISAC Weekly Quiz 8 (C & DBMS)

ISAC Weekly Quiz 8 (C & DBMS)

University

10 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

Programming Practice Quiz 2

Programming Practice Quiz 2

University

10 Qs

Multipletables, functions, sub-queries

Multipletables, functions, sub-queries

University

10 Qs

UAS Pemrograman Web

UAS Pemrograman Web

University

11 Qs

DBMS_SQL Intro

DBMS_SQL Intro

Assessment

Quiz

Created by

sobha xavier

Computers

University

1 plays

Hard

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name

Annie

Bob

Callie

Derek

Which of these query will display the the table given above ?

a) Select employee from name
b) Select name
c) Select name from employee
d) Select employee

b) Select name

c) Select name from employee

d) Select employee

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ________ clause is used to list the attributes desired in the result of a query.

a) Where

b) Select

c) From

d) Distinct

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This Query can be replaced by which one of the following?

SELECT name, course_id

FROM instructor, teaches

WHERE instructor_ID= teaches_ID;

a) Select name,course_id from teaches,instructor where instructor_id=course_id;

b) Select name, course_id from instructor natural join teaches;

c) Select name, course_id from instructor;

d) Select course_id from instructor join teaches;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SELECT * FROM employee WHERE salary>10000 AND dept_id=101;

Which of the following fields are displayed as output?

a) Salary, dept_id

b) Employee

c) Salary

d) All the field of employee relation

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

This is Employee table.
Which of the following employee_id will be displayed for the given query?

SELECT * FROM employee WHERE employee_id>1009;

a) 1009, 1001, 1018

b) 1009, 1018

c) 1001

d) 1018

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements contains an error?

a) Select * from emp where empid = 10003;

b) Select empid from emp where empid = 10006;

c) Select empid from emp;

d) Select empid where empid = 1009 and lastname = ‘GELLER’;

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);

a) Table

b) Values

c) Relation

d) Field

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A_____ is a query that retrieves rows from more than one table or view:

a) Start

b) End

c) Join

d) All of the mentioned