Structured Query Language-First

Structured Query Language-First

12th Grade

10 Qs

quiz-placeholder

Similar activities

Scratch Programming Quiz

Scratch Programming Quiz

12th Grade

10 Qs

Java Operators Quiz

Java Operators Quiz

12th Grade

10 Qs

Tipe Data dalam Basisdata

Tipe Data dalam Basisdata

1st - 12th Grade

15 Qs

Web Programming and Basic Database Concepts

Web Programming and Basic Database Concepts

12th Grade

15 Qs

Resume Basis Data

Resume Basis Data

12th Grade

10 Qs

Database quiz 3 SQL

Database quiz 3 SQL

12th Grade

15 Qs

My Sql

My Sql

12th Grade

10 Qs

Quiz No 1

Quiz No 1

12th Grade

10 Qs

Structured Query Language-First

Structured Query Language-First

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Aswathy Krishnakumar

Used 50+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following attribute can be considered as a choice for primary key?

Name

Street

Rollno

Subject

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following attribute cannot be considered as a choice for primary key?

id

licenceno

deptid

street

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An attribute in a relation is a foreign key if it is the ............... key in any other relation.

candidate

primary

super

sub

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following statement. What type of statement is this?

create table employee(id int, name varchar(30));

DML

DDL

DCL

TCL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The data types char(n) and varchar(n) are used to create ............., and ............. types of string/text fields in a database.

fixed, equal

equal, variable

fixed, variable

variable, equal

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the given query which keyword has to be inserted?

insert into employee ............(1002,'Kausar',20000);

table

values

relation

field

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider following SQL statement. What type of statement is this?

insert into instructor values(10211,'Shreya','Biology',66000);

DDL

DCL

DML

TCL

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?